From patchwork Mon Dec 3 07:50:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 152676 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6512132ljp; Sun, 2 Dec 2018 23:51:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/VqXVFhGktFVPFmh8zpUd2NVFgqrRzH37KjZVXsCm5rfcptnrHRyMuiAJkVcWYMeNetu3aH X-Received: by 2002:a63:2d46:: with SMTP id t67mr11478669pgt.140.1543823505723; Sun, 02 Dec 2018 23:51:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543823505; cv=none; d=google.com; s=arc-20160816; b=fgpnxHRQAM/LPxZ/hU2LUki2uTXlizIF8I33WS9+YtX8vGYTE+6zdFq6+RbPaJY0tK GxC4H8hRgXYGPyltlv3jNQ08fCbVGQVtiH4v7DID087h/Ol7I0xUJO9mn6IoVBCw4FaZ NCIRPtTdI3QniR2/zamsi46ixjIE63RF2bz/Cn3wuSTRGWyIhLjETDfbmSozfFdt3hac exrAhvbqDRph/efavADtCCTVO6jjQ08QKCmynovcHW29q3igMdCUWEBnyuF29DP2jbb8 Mtwmlj6uWTs1TTfPJneo2NF3eq9rGM6IVebyhmimRR5RhmL/LxnPORXqCv43WVdGQO78 OcBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=X+Ozr6bkbkkxWvX5eFcOqnRQyZl1A0qa0bpJxN9vF1M=; b=tJ2sbiQDz+V+DLTCk8a0wF6v9OSPYspsQ+v64QXIsbGB9kzUyt8Ut9fbI/jMm/Bf9m u67sSL6lmWvneXEIXdDjpZe5qiPjWktvzTlRdgK2Ym0drLwvLqzo3ZWU9Z1tLot+mozF C46k4B3gNE1J9pVpPNP3cdymoQV8OWZGQAMMEpOKA2DMsaCLwaYS8cN098V2QfNonq7Z TdRfmd84b4g+15eCYXgfDhmAv2n6HejltyvbTaaBSiWfs8dAQpMzQrP9WwAepHTZcUQp vCKszFb0QTbE4Vw/lbFdm0mqAC2Ob/RLH8GLNdiLdARwDVKd2Yff32tLDIoFZVHHyhZi Cajw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=D1aZ88oQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si12178583pgf.452.2018.12.02.23.51.45; Sun, 02 Dec 2018 23:51:45 -0800 (PST) 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=@nifty.com header.s=dec2015msa header.b=D1aZ88oQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725937AbeLCHvs (ORCPT + 32 others); Mon, 3 Dec 2018 02:51:48 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:60226 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbeLCHvp (ORCPT ); Mon, 3 Dec 2018 02:51:45 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id wB37p4O3009296; Mon, 3 Dec 2018 16:51:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wB37p4O3009296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543823466; bh=X+Ozr6bkbkkxWvX5eFcOqnRQyZl1A0qa0bpJxN9vF1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D1aZ88oQU7buOx7u7Z7XmXYq07dthDQsllFU/J2lWxPfDVpDDj+LeUx8m0uNXap0d 8uPs6M35aPTOAH4D564THzMJNCXpBr8wx3pF9N3zIAuYxifegzaFdC4YPWT2prDInM n8pa3AW5yPiaTszt6kmgmkNb3ELxSeoICXWjzf3JQMWeVile8NhDVBWGOMQhrYzBx4 n7Z7gDLiWHB2o1mP5PD8uHdUiOUz45cfLOewNYTyVeHeitvQ5nt4PW9GZ2HjidQwLB pekTXRm9JSjQZB0VKzwhLybFvIRliI+7hKXArdy0/Gll7RjnWjxEdq5Uz4lryxlDhO m8hhBfA2lEAng== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Michal Simek Cc: linux-kbuild@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/7] microblaze: adjust the help to the real behavior Date: Mon, 3 Dec 2018 16:50:52 +0900 Message-Id: <1543823457-32478-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> References: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "make ARCH=microblaze help" mentions simpleImage.
.unstrip, but it never works because Makefile assumes "system.unstrip" is the name of DT. $ make ARCH=microblaze CROSS_COMPILE=microblaze-linux- simpleImage.system.unstrip [ snip ] make[1]: *** No rule to make target 'arch/microblaze/boot/dts/system.unstrip.dtb', needed by 'arch/microblaze/boot/dts/system.dtb'. Stop. make: *** [Makefile;1060: arch/microblaze/boot/dts] Error 2 make: *** Waiting for unfinished jobs.... Rip off the never-working target. In my understanding, simpleImage.
works like a phony target that generates multiple images. Reflect the behavior to the help message. Signed-off-by: Masahiro Yamada --- arch/microblaze/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 0823d29..97e1384 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -89,9 +89,7 @@ define archhelp echo '* linux.bin - Create raw binary' echo ' linux.bin.gz - Create compressed raw binary' echo ' linux.bin.ub - Create U-Boot wrapped raw binary' - echo ' simpleImage.
- ELF image with $(arch)/boot/dts/
.dts linked in' - echo ' - stripped elf with fdt blob' - echo ' simpleImage.
.unstrip - full ELF image with fdt blob' + echo ' simpleImage.
- Create images with $(arch)/boot/dts/
.dts linked in' echo ' *_defconfig - Select default config from arch/microblaze/configs' echo '' echo ' Targets with
embed a device tree blob inside the image'