From patchwork Mon Dec 3 07:50:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 152682 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6512896ljp; Sun, 2 Dec 2018 23:52:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/WtnKcnmbS0Aap9OpU+zxFS38zo38o8VnS13eS1Z85KhBMQ19zU4JW3IUY4J/xXAgmkBK9W X-Received: by 2002:a62:3c1:: with SMTP id 184mr2821967pfd.56.1543823567724; Sun, 02 Dec 2018 23:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543823567; cv=none; d=google.com; s=arc-20160816; b=u3dp3ij/u+CJm69Xc1X0B3s9WsAC7fkon9tqmQIHVfp7hqFaolubpP5wKc3EFBs4l+ kHMtIQ+X7yr89tGTneSyN0iaPmnZA/kxIWGQw6v72fmKv72YQNoAHtyl7sMvbNOQAsNi QpOnecj4zmwYTfAlxXuYz/xbZYmPkEJtcwE4iZFW9E/ld+38rCJJ1qQsna+ATEiCu4bi gB7F+0VxLnF+ayUCkJmwev46Yel5w+qy1K35geOSNYyECq0d5BuXP4+5Cp9r9YAH1oos l0pf1EVsMyufPcMhAJ0y5HijqYW5vpey0vMhWRJ7OwNDHYTGlI34/frIjodN/6iMz3qE UU+A== 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=dCLplUBM+3R1bEdXjczaPed5zfwez0ZYRnU/1stqcvM=; b=HwCkLzGKo9qGBCMREJEYKRN0DtVubfj1FVyUuSKRiiGNk93MYIkdDMTo+sI5/9wJLI u3W822qPxXFYvV8n6wCKGsf3aIbXcRDfkYVx5U2gHfXGKbDjuT7E1Orv1TseXGmJgfeK d5Vq7O5cLORFIkNLtKCjrPxjBsESpyf0nBZ2CjatYq4Sj6oojowYuB9EjZfOftBR/rAJ 7Vk03OFrcVNWbqb7Vo0r70Vbd2+gZOWp07xZmUb+li9gDrfNHL5lf/IBjZQ5Gj5fHnqV W67Yy91XJx5CcLGJgrXQYvNFRmlzD33OHzbI8shxwNEMaPdYDSQR+KAHedKNVk7D2vDW 5y7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=co1Q0A6S; 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 t64si11888873pgd.202.2018.12.02.23.52.47; Sun, 02 Dec 2018 23:52:47 -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=co1Q0A6S; 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 S1725870AbeLCHvp (ORCPT + 32 others); Mon, 3 Dec 2018 02:51:45 -0500 Received: from conuserg-09.nifty.com ([210.131.2.76]:60228 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbeLCHvp (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 wB37p4O2009296; Mon, 3 Dec 2018 16:51:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com wB37p4O2009296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1543823465; bh=dCLplUBM+3R1bEdXjczaPed5zfwez0ZYRnU/1stqcvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=co1Q0A6S09DDXYdLbai/ARiMGRuDBTzjrztRh3tKnHV6lLzqM+7p1ZW8uykqIeZ3B Z5mSPpNSOtsMDChV2kO+V+DrN1/CXWePoZxwg3+aLsjiqLsWzVLZMAp0ZkTDkOgMTT +EEYd22lpK/IJVIwWYc1SVxNdMMoHRD+gazX31L+x71aB/lUu0NrSgscWkazKAiA+s DpqyMwt8Y2AdzjhHCTxj4nonDzbhGwjyGKuZWYgwL6yWs+8MGOUaQLbhdFq6FIcITn j6ZrkxQOd3Ps07Fvz3rW0vIdoMZISub/EIbG7kKPtRONjIYal+yTdNgvPd3toJenjK hL5OIO32hYfSQ== 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 1/7] microblaze: fix cleaning of boot images Date: Mon, 3 Dec 2018 16:50:51 +0900 Message-Id: <1543823457-32478-2-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 The simpleImage.
target generates the following files: arch/microblaze/boot/simpleImage.
arch/microblaze/boot/simpleImage.
.ub arch/microblaze/boot/simpleImage.
.strip arch/microblaze/boot/simpleImage.
.unstrip However, "make ARCH=microblaze clean" only cleans up the unstrip image. Fix the clean-files to take care of all the four. Adding linux.bin.ub to clean-files is redundant because it is already added into "targets". Signed-off-by: Masahiro Yamada --- arch/microblaze/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 Reviewed-by: Michal Simek diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index 600e5a1..e8684a2 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile @@ -37,4 +37,4 @@ $(obj)/simpleImage.%: vmlinux FORCE $(call if_changed,strip,.strip) @echo 'Kernel: $(UIMAGE_OUT) is ready' ' (#'`cat .version`')' -clean-files += simpleImage.*.unstrip linux.bin.ub +clean-files += simpleImage.*