From patchwork Thu Mar 26 11:59:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 6098141 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AB4BABF90F for ; Thu, 26 Mar 2015 12:00:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D07FE2035D for ; Thu, 26 Mar 2015 12:00:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A862C203A5 for ; Thu, 26 Mar 2015 12:00:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752609AbbCZMAP (ORCPT ); Thu, 26 Mar 2015 08:00:15 -0400 Received: from conuserg010.nifty.com ([202.248.44.36]:44404 "EHLO conuserg010-v.nifty.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752175AbbCZMAO (ORCPT ); Thu, 26 Mar 2015 08:00:14 -0400 Received: from beagle.diag.org (KD106175067021.au-net.ne.jp [106.175.67.21]) (authenticated) by conuserg010-v.nifty.com with ESMTP id t2QBxqHw028614; Thu, 26 Mar 2015 20:59:58 +0900 X-Nifty-SrcIP: [106.175.67.21] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: do not add $(bounds-file) and $(offsets-file) to targets Date: Thu, 26 Mar 2015 20:59:52 +0900 Message-Id: <1427371192-29966-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP $(always) is added to targets by scripts/Makefile.build. Moreover, filechk does not need .*.cmd files. Adding these two files to targets is redundant. Signed-off-by: Masahiro Yamada --- Kbuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Kbuild b/Kbuild index 96d0629..6f0d82a 100644 --- a/Kbuild +++ b/Kbuild @@ -36,7 +36,7 @@ endef bounds-file := include/generated/bounds.h always := $(bounds-file) -targets := $(bounds-file) kernel/bounds.s +targets := kernel/bounds.s # We use internal kbuild rules to avoid the "is up to date" message from make kernel/bounds.s: kernel/bounds.c FORCE @@ -53,7 +53,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE offsets-file := include/generated/asm-offsets.h always += $(offsets-file) -targets += $(offsets-file) targets += arch/$(SRCARCH)/kernel/asm-offsets.s # We use internal kbuild rules to avoid the "is up to date" message from make