Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3765634ybh; Tue, 17 Mar 2020 06:15:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuvW22sbC/314PhoS+F4afqGMcZosdox+4LfQ8VJ67hoxK2ByY+hn/4S5Ej1Nq/y6YNWyUL X-Received: by 2002:a05:6830:4038:: with SMTP id i24mr3764587ots.0.1584450959217; Tue, 17 Mar 2020 06:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584450959; cv=none; d=google.com; s=arc-20160816; b=ItJ4pOMbrkF6NQclEcK03GYroEL7p2JRPPsnVXkYXnXe/AU+x+sza96jggptpVZc77 2HreAkhkgkt1htwS6rbSpHpqcHt0GvhA5XjWPQd2wT3/k/nuk3ZLgDNA05axNHKqthJ/ 7xXVmnAvgXBOQN7mBSGFcESqrEXMmG40OAxSkmsP1rbSSKz6w4WTPRvMeNUJv7rdFgtq AKWBYN6Wq37frZVynOhBhLNJDrPOMs0WDReyD8Fuh/Q2DWYgOFDyhXmELl0powchrYvQ UhN3/Jxkck8K2y9KsvZ7xEXEopZvgG3SCkNPAtfmn9ggZ7Gi96uTYzbFHyRTCyTFOQLd Gowg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VDL9K7aqe3jp7fh+9UqF0umyKJ7dJoYMiOyeYqvwDys=; b=W/FldaVhAH2zncS0hF3KBQqKRc4O1HMp2nX9szf/ddBIzxELvCBC4o8V3A5Joz3x6P wZIcQk6LTUx8JFd4Qp5Aa55/e0fkj2dJa9MpBBzjHKoMRjnFxp8wa1WHyuOVB47cqhSW SP3BISKzC+xhGLnkfpnnHuP8hVbyQ71hf9vfaoAUlSAr47MTIhBmD1pvBnQtEtpbxNqX u1jHxTE/hXX9aSkX9rkT1WhVGgP9BWIQvTPiYEHA4R3UOC8YcE2ITJg5PsGmA98i0Iay 2R3ByRd7CP0covQkBMnk6IYhNXqcXQt+gQVMg9Uxit6d7Dpg9+0Ead0L5AiV5TH2qn+V x9/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tHvjHdpU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t205si1716059oib.49.2020.03.17.06.15.43; Tue, 17 Mar 2020 06:15:59 -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; dkim=pass header.i=@kernel.org header.s=default header.b=tHvjHdpU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726871AbgCQNPV (ORCPT + 99 others); Tue, 17 Mar 2020 09:15:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:40588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726474AbgCQNPU (ORCPT ); Tue, 17 Mar 2020 09:15:20 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 29C3320754; Tue, 17 Mar 2020 13:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584450920; bh=B4e1Q1kI4RIAmKUGfbdCGsnqz+dA4ShcbdE/OxSJvHg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tHvjHdpUH6UPznBLfwZhBrheswuKufoAlZL1H2FgWppUmLBpva37eTQMozHBJW/F8 qM7YLt1/gfF18yaaoLegobHvQptFw18Tpi7HnppkVs2nyN1Fu/7te72ux7TnXmVkhw GqWyCcDZMhEcAPspSBISMfdLmdwDNPgESzGGZAI8= Date: Tue, 17 Mar 2020 22:15:16 +0900 From: Masami Hiramatsu To: Adriana Kobylak , Steven Rostedt Cc: linux-kernel@vger.kernel.org, anoo@us.ibm.com Subject: Re: [PATCH] tools/bootconfig: Makefile: Create destination directory Message-Id: <20200317221516.25d92373a0194c9237b1ee38@kernel.org> In-Reply-To: <1584373766-3509-1-git-send-email-anoo@linux.ibm.com> References: <1584373766-3509-1-git-send-email-anoo@linux.ibm.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Mar 2020 10:49:26 -0500 Adriana Kobylak wrote: > 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. OK, this looks good to me. Acked-by: Masami Hiramatsu Thanks! > > 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 > -- Masami Hiramatsu