From patchwork Wed Dec 4 17:54:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180830 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp934630ile; Wed, 4 Dec 2019 10:04:52 -0800 (PST) X-Google-Smtp-Source: APXvYqznAq4Upa8aQ0XOfImBnb2UY15hL7+2MY6FNHlgZV5BjD+XGCTHtfxX6UhihNBrUBdHOFMP X-Received: by 2002:aca:1e02:: with SMTP id m2mr3736110oic.81.1575482692600; Wed, 04 Dec 2019 10:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575482692; cv=none; d=google.com; s=arc-20160816; b=YDiPAeIs/O2SkFeSrOI9cv/9Vum3U+UWaj7qZe1L8MqRX+MmxXTC8BLavAFrjt7BE6 QKTXtD0Nq1mV8X+IpCz163knARKIwOmgxn3+K5o9xoyR3R7r1lFGFgQ+il+c9FAgO0Ls 5y6D5TW4cfTYp+27J12JZ9/jsLsI4vXfcwdlhSGxkGKX6DhSCA8g2XyJbM1cRm0TU1mq r+OuSccTePozNq79+IfPQBKC0smcqA1YX4xOik8qOTzsBEy8KBAyj38ilrOG8dp63ECQ 9s95AzzZBp/Hz5ih5+8AA9YI6UbYLqwrWI+R2YqxJRqKKj9ryZUb4GUB29wvLLpNkcgd u5hQ== 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=vCndiyMoS+uI7Gsi5ws3CWsybosDsbZVn7bJ/KpMVUc=; b=SNq2z7iLmFcl5fl5NAlF3XuiEn+wbC7gqweFrJk6P+Vz3G+FPMvABbQvdb0rZL24zf FRIIy0NuPM+prHSjgp+Lx6SWSZwYlYuvC71PTlsSPfmPxSCdzDOIOB3gSdulj+S0BZ/G CEAgkzoaigSaxTMd/PjWI6VcjV6qEw7nE0PY/ws1YP7wXzJpxZ8a+LkmftsUQmghx4tx S/tmn2GzeekpW6Yqi1v5s4CuiolShnZnVqP3h0ydmgKIObHXF7nciedAWcMe8sCv31jL nZlSP+A2dCKY0tqZOFabhZksxrwVDv231DlZASs9t9gHdEV5ibeSrVDe0qY9KiL5l8fk w6gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OIFoYkeI; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 t3si3675684otj.109.2019.12.04.10.04.52; Wed, 04 Dec 2019 10:04:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=OIFoYkeI; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728982AbfLDSEv (ORCPT + 15 others); Wed, 4 Dec 2019 13:04:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:50550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730265AbfLDSEt (ORCPT ); Wed, 4 Dec 2019 13:04:49 -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 12F0D20659; Wed, 4 Dec 2019 18:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575482688; bh=BN0DhflK9aTP7pbgnOI1FtlaLz5PDG30I11spKOXY7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OIFoYkeINDmg7MbCaOa6A6L5kT+596L5LLEhRrY4ml3Ql6gV6WYZub9opgnDxH0OO WBXmetjBzEueQu71WloNcEOC6zCGW6rs+++KP/80tXE63hZZr0HnCofiN5lWZ+f5vn Tz+HK10yYSEMlOSeVT5AqZB1MTsrjktkPFdN5jjk= 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.14 052/209] microblaze: adjust the help to the real behavior Date: Wed, 4 Dec 2019 18:54:24 +0100 Message-Id: <20191204175324.959353887@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175321.609072813@linuxfoundation.org> References: <20191204175321.609072813@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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 d269dd4b82795..188f07bba0959 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'