Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2741002ybh; Mon, 16 Mar 2020 08:50:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsKCvLb2WWYXYT32z5J4TjzU4nTT7fsqETulSR3ZELsFBNRrYmPHyR7Brzb+PwzgQipDsXl X-Received: by 2002:a9d:6358:: with SMTP id y24mr20842005otk.49.1584373817071; Mon, 16 Mar 2020 08:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584373817; cv=none; d=google.com; s=arc-20160816; b=kqU52UBtp0O/pUXPIm+r1ncsNweO8J8Eye0yaaGqZsxpGs1ewlPelYkd8zuaQuYedD NRcfXA0RoE1sFQvD3EbMYJ0xLeQa/fBKN30BJA3bE0b02KjIhwmve6zQiAPkV++FcXaA 6iWVm06FSi9VY70dGBTMZN2IuTR2DLOrcnRcXjqroMeU4Fs+FFxMuUXtPaYxU91vS6Pk CH1wRMdsRuEpEyypYpp4HOJF59SDxNHSd1hlHX8yAz2+nILtwTsXetAowvqxvI5OSUOg 5UG2DANRsYfteWb++893zzQmFtr/6LkqfQkgEcp7yLvUmua6sX7BKI8t1mthsPXIXXmX o7Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=B8HVq/Zu64iyIVRtUVm8dZeFDoRqluydOy9z/dQCl08=; b=tpmXKQZWphndULTmTCoX2ijoWet7lpZdYDYg+hrpUYXMnKHnja6vIddGexaJH9N1Ex RIEY3pP2pkCTSVKiq0c+B1SoO6n+fakJoBh9eBBJP+9VQs3bbAj7eunvcrwzgIdobcFf WT+QM1jdalfTxMXG9eccho2/fJCggINiWbZseXcTMrAYP7hdjxXshcbuWZTfeKf6j7T5 1vrByFklAesvsgLOD/MB63wHwTzlbuvB6U6wMKT9VSz4ZdrsxejagRdW53ecxH2UFWkG N3y2p3XJ+FlPqzzTJTzQCIUP6XR3oexK2BU6f+IcZBo/ToL6AUly1UBKNGlPsEgebNm8 2PNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s128si164610oig.204.2020.03.16.08.50.04; Mon, 16 Mar 2020 08:50:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731954AbgCPPtf (ORCPT + 99 others); Mon, 16 Mar 2020 11:49:35 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:1476 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731936AbgCPPtd (ORCPT ); Mon, 16 Mar 2020 11:49:33 -0400 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02GFX7qp187981; Mon, 16 Mar 2020 11:49:32 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yrtwtwe4x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Mar 2020 11:49:32 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 02GFjMfp003245; Mon, 16 Mar 2020 15:49:30 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma05wdc.us.ibm.com with ESMTP id 2yrpw612b3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Mar 2020 15:49:30 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02GFnSWV36569570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Mar 2020 15:49:28 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 45FE178067; Mon, 16 Mar 2020 15:49:28 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F291778064; Mon, 16 Mar 2020 15:49:27 +0000 (GMT) Received: from habcap11p1.aus.stglabs.ibm.com (unknown [9.41.164.53]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 16 Mar 2020 15:49:27 +0000 (GMT) From: Adriana Kobylak To: mhiramat@kernel.org Cc: linux-kernel@vger.kernel.org, anoo@us.ibm.com Subject: [PATCH] tools/bootconfig: Makefile: Create destination directory Date: Mon, 16 Mar 2020 10:49:26 -0500 Message-Id: <1584373766-3509-1-git-send-email-anoo@linux.ibm.com> X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-16_06:2020-03-12,2020-03-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 mlxscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 phishscore=0 suspectscore=1 priorityscore=1501 mlxlogscore=855 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003160074 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adriana Kobylak The DESTDIR path may not be available to the caller, such as compiling the bootconfig tool from a Yocto native recipe. Have the Makefile create the directory instead. Signed-off-by: Adriana Kobylak --- tools/bootconfig/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/bootconfig/Makefile b/tools/bootconfig/Makefile index a6146ac..470b6f0 100644 --- a/tools/bootconfig/Makefile +++ b/tools/bootconfig/Makefile @@ -14,6 +14,7 @@ bootconfig: ../../lib/bootconfig.c main.c $(HEADER) $(CC) $(filter %.c,$^) $(CFLAGS) -o $@ install: $(PROGS) + install -d $(DESTDIR)$(bindir) install bootconfig $(DESTDIR)$(bindir) test: bootconfig -- 1.8.3.1