From patchwork Tue Dec 3 22:32:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 180753 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp2155099ile; Tue, 3 Dec 2019 14:49:35 -0800 (PST) X-Google-Smtp-Source: APXvYqwbTPlLR9d+CDH8+bfrYrvE1DYHuE97Ej4b8CsggqNXaf8G75jxRsU5rK/xQ/p6/BOXT3Tc X-Received: by 2002:a9d:2266:: with SMTP id o93mr193893ota.215.1575413375867; Tue, 03 Dec 2019 14:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575413375; cv=none; d=google.com; s=arc-20160816; b=hXpY+nSntkAwTrJ480Njqr5ng/sqEuXEI0+5YTzOqQFDdFVgju8WUX0Jm5QMCHyJ1a 0juZQ4m4OoQYJM5ju97GHKUNpyVtzm/EpRqDFeFNNYppNNjYd98zKfZkhdyCJ13fb/9X ZRIucJbDPIK9psTucr+CAoqRrtDQ9wqySynlcjZEUZpOXBl0swGthCKitq44XhW5T8IN 7o1afS2T7qMQUOtnoil4LALD9bVhJC8MutUBaUeTo/9UVgYxKhQlsLVoJmZdY8PgsyGy TCITBV3LvwmYZ4FySjWjG1TAI3UQWbT1NPQSCMbq00FwcsyD4D2mzlWsQjCcomMH+nbO LVOQ== 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=pgOUEPOVLtDsPwHEWcZSGU5Af8tY3Qlchvb6KJSZvgk=; b=bzI4E/DLIXLXH+IfDS6my49OsHP88vWsP+32kAkYBWyifJwQYOb/Eun2COcLejlRze 6bZzWob3seTMsURgFB5Dv9XMfXcrLGGxRmRnBXP0Hhy3q2kqOve1cURfoOJMNC/8XtnV 0AxBlRIA+dYxKWvgVhxyZzGo5THu4U0+TNXnE9k1IoVcMYOhbg6CgW6j861eIr0AaEhJ 4hFe59t5Ki05/RIj/5B0C2ayvbe1t39ZuN73SyTOFUMMHI142ItDxRz2/UfPaGXqMtQm Ak/pMo25DRgiAKyTUjC5Ke0tsPlSPCeaEKmLvFkA4D8sT3xcwXdf4MJ+7nLSFJzukYdB m2ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ifcKgwam; 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 h9si2098427otb.49.2019.12.03.14.49.35; Tue, 03 Dec 2019 14:49:35 -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=ifcKgwam; 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 S1729620AbfLCWte (ORCPT + 27 others); Tue, 3 Dec 2019 17:49:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:40558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728727AbfLCWt3 (ORCPT ); Tue, 3 Dec 2019 17:49:29 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 C9E3B20848; Tue, 3 Dec 2019 22:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575413368; bh=x5uTloVlZUSZDG2pEyfA9m9Mh/alz08Ac7RdDVqdQwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ifcKgwamYJNzRAIuBjbIQweLGtvVZojKjecNdT+pqbH7IC5hvrzhu353x80+H/EIw 3/vfuUwJNVO69duZU78ZxH6MIhyLaWun7HkT7OZgP1C+3QaT4K+M9aWvAF0yH/wPGe k7xSrfjlfF8ndwlrIg9JZCEXKK2gb4itwrAbBn+g= 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.19 102/321] microblaze: adjust the help to the real behavior Date: Tue, 3 Dec 2019 23:32:48 +0100 Message-Id: <20191203223432.461334672@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191203223427.103571230@linuxfoundation.org> References: <20191203223427.103571230@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 4f3ab57072652..eecf37276521c 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -91,11 +91,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'