Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp436890imu; Fri, 7 Dec 2018 03:36:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/UbORLmcU1iCFgSbz3GKOkEA1GRatZPUi5BVXbxl1LqIjnakaOL08NmDaQLHdb7K462jIr3 X-Received: by 2002:a62:c21c:: with SMTP id l28mr1903199pfg.74.1544182609776; Fri, 07 Dec 2018 03:36:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544182609; cv=none; d=google.com; s=arc-20160816; b=OIj+k6jF3fnUyYgsjs7t8Hzh88N6KCkVToHsDy2vhCT6SEy9QECmTMRW1tLQCZdlFQ vE85sdrQRzxrLxv5qStuFAZbeqAaaUJCoXV4GkJLK/G9pPdWD6aW6uYRzc6xu1ZI9eTm NDjxP/Jaqh/2vafHHwOlQNvca0WQ657dtqYEkFJrUL7xhOnXg0h+9XxejS99FFYN3oNu r5hO/uUFzyufKMI28esm0/4fLm6JYk9v6Xwemko9QT0+03E5xMSpwF2DL6O0AE1xzZOO AfRFf9NHD0OGwm/eGaEMbjXATmqWi2NUn8sut/2GMJZ5DxSk9lcwMuwM/1xk3uJmv1rX xEKQ== 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=b+/CYXfoOhRLJl50d2gy+TZDzV3UYeKW/v4ouoz7OoY=; b=qal5kRLs0qDt3XVfNf5ofRMpMXw5O/pB0Z3P8Zo7z8wQrxl9+4XNuFkwtklsJOKFJi Tb+Jf84dmQNnE1GuSwiV9P3w61LS4kPnHyxhM/mttOdlWiT9t2YLMVcDR9r5l1TpEk65 954czjEs2NXnUP8+W3Nv3qMXBpe3Chk2JhQpSrXSf8Ws5nKnAy7PhSSoKV9dCPmrtGET m72aSMrQG7W0wboXFBH55nlcPej/eiundUYd7pSwn5YBQddUyaXbVMnWZdmCr7IeAvK6 gLyAnQMWovVzSziISTRCAek1ovC3yKNPNOIripMeUeylnSSI2JFa3DaQlldGQAr3QwjH 2jlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=lgrb6D6C; 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 ba9si2748990plb.109.2018.12.07.03.36.34; Fri, 07 Dec 2018 03:36:49 -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=lgrb6D6C; 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 S1726099AbeLGLeW (ORCPT + 99 others); Fri, 7 Dec 2018 06:34:22 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:45509 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725998AbeLGLeV (ORCPT ); Fri, 7 Dec 2018 06:34:21 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id wB7BY6rc020070; Fri, 7 Dec 2018 20:34:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com wB7BY6rc020070 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544182447; bh=b+/CYXfoOhRLJl50d2gy+TZDzV3UYeKW/v4ouoz7OoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lgrb6D6CSf7xC97CxtfCzHEpo4yQbPFJ59WYm47+0gL58RzjcVRd89gsCFMTEsYJR /jt7Yj+qL0m5JGg2zv7ZAbilpc3AJFiHatagUhqrC/QsGX2HoPCrRMpEgFBNsUDLeS o4TbcZgbCd3zwVg7FeyzO0O2MRpTkF1GNpEK/ySNycTDjjMit4SQY5YjIb5oaiJd/d VrVm9eEEP8kD4jzGYhNGZ/3cY7rsucN5/VNLs0L3gkgG7Ml7nL+/i0TAkuebQ1LiKS hj2gygxD0mw0vsi7l9K9Dm0Sl1s5hFpaxNHfFVg/jeWy2VL/ZL78v2SmBgaEbz1b6u yv/68Vm/TjqBQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Michal Simek Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/6] microblaze: adjust the help to the real behavior Date: Fri, 7 Dec 2018 20:33:52 +0900 Message-Id: <1544182437-26660-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544182437-26660-1-git-send-email-yamada.masahiro@socionext.com> References: <1544182437-26660-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 is not a real Make target. It does not work 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.... simpleImage.
works like a phony target that generates multiple images. Reflect the real behavior. I removed the DT directory path information because it is already explained a few lines below. While I am here, I deleted the redundant *_defconfig explanation. The top-level Makefile caters to list available defconfig files: mmu_defconfig - Build for mmu nommu_defconfig - Build for nommu Signed-off-by: Masahiro Yamada --- Changes in v2: - Show all the four images in help - Delete redundant *_defconfig explanation arch/microblaze/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index ddb251a..f6b7ea6 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -92,11 +92,11 @@ 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 ' *_defconfig - Select default config from arch/microblaze/configs' - echo '' + echo ' simpleImage.
- Create the following images with
.dtb linked in' + echo ' simpleImage.
: raw image' + echo ' simpleImage.
.ub : raw image with U-Boot header' + echo ' simpleImage.
.unstrip: ELF (identical to vmlinux)' + echo ' simpleImage.
.strip : stripped ELF' echo ' Targets with
embed a device tree blob inside the image' echo ' These targets support board with firmware that does not' echo ' support passing a device tree directly. Replace
with the' -- 2.7.4