From patchwork Wed Dec 4 17:55:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180835 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp942748ile; Wed, 4 Dec 2019 10:11:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzhZxQqRX7uARhKXTxF54wZJCTR0vuqeYV7mw+kZ62fNr5chbGW8ek+UIo+YYj2YtPOvhu1 X-Received: by 2002:a05:6830:1f4b:: with SMTP id u11mr3519461oth.60.1575483068016; Wed, 04 Dec 2019 10:11:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575483068; cv=none; d=google.com; s=arc-20160816; b=M/QnE+hwIBjQJ0q5f4SKTcxsNOnjJAcyEEFEbh08PO4ToFBIqMoWSq6JqMHX6aNZe6 qUxu5HPzrO6HVa6IbjqAQMQFr2rexHVigH1PoLKD615hU9tFEq6kZ1alZF038trMSesc rQjXYdKtyPOhTuzr9RiQfzr2a2rFNaV1+T31/pKrAXgbtOWgZkvSyYPz4bCrEiivM73W q2n98h6utESgvlFlJb/Uki32nbMmI4fl5CMwrRs3Hto449e2kLNgG/kZkwsyakio9ua7 67wb7TleffY3VcrWY4t29EIGdRlWTsPwwjHgotPTn7lsWNKnpiKAclHtXqqNOwLC88lH 6PNA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aJu6ZyW86PWD0uwklrQqIvyNi53pfS3MBNokozcVlDE=; b=IRIHKTy5KeJafn38zUhkA/I6G4Gg1TbdsvshqY+jeMSADkk6369KEQMtlG/rCJ396o OnBaGNCCyENuaWkrJtaVCE24m4hG7rMTd6jnXoBulrFU0wiF9zY96USefui522ktbXxB +UMaq8BOSR2ZfvmNiXUsJcWu9xNYJZkbQ+ji8W0tG4dHVOeEHtLJ2qR2kR1REekwjOz/ WfO2UkRvxlZQ0OfxgNOVnofAIFmoqT5hbyzAAEOLAEm+SGDjHoMn7cKTfUg1DS+Xrixz dHiXkhMRuJVxBrhjTYnwu+rbf1kzuXzHfLbyQcYRc8KaKrw11mfMORPBxFI/sQD75NRK BR0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="s+d1Bi/y"; 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 y191si3555044oia.160.2019.12.04.10.10.58; Wed, 04 Dec 2019 10:11:08 -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=@kernel.org header.s=default header.b="s+d1Bi/y"; 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 S1731345AbfLDSK4 (ORCPT + 27 others); Wed, 4 Dec 2019 13:10:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:38660 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731337AbfLDSKx (ORCPT ); Wed, 4 Dec 2019 13:10:53 -0500 Received: from localhost (unknown [217.68.49.72]) (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 3B8E52084B; Wed, 4 Dec 2019 18:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575483052; bh=ZCOYm7uvTGNlci+Nc06dmUObDmY7JSDWXNomo+BzJS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s+d1Bi/yn4L81yP3bVx1HQFoGYdlfe2qQ9ACp2dYcGzToE/A/w35OJXDD5aTonwg7 XGUMAgfNP4oBiiYLcCaf7+nG6IRla4X4sv5uTFDvXku4iivweKvqq+65vDR7I9tmLU fhHK9E+ych7gGmldImMihpLEcj0kQWVc+3Y/xYiE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Michal Simek , Sasha Levin Subject: [PATCH 4.9 031/125] microblaze: adjust the help to the real behavior Date: Wed, 4 Dec 2019 18:55:36 +0100 Message-Id: <20191204175320.887612811@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175308.377746305@linuxfoundation.org> References: <20191204175308.377746305@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masahiro Yamada [ Upstream commit bafcc61d998c1ca18f556d92a0e95335ac68c7da ] "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 Signed-off-by: Michal Simek Signed-off-by: Sasha Levin --- arch/microblaze/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 740f2b82a182a..5e1e18540a571 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -83,11 +83,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'