mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnaud Lacombe <lacombar@gmail.com>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	Arnaud Lacombe <lacombar@gmail.com>
Subject: [PATCH] Kbuild: append missing-syscalls to the default target list
Date: Wed, 24 Aug 2011 21:03:30 -0400	[thread overview]
Message-ID: <1314234210-11090-1-git-send-email-lacombar@gmail.com> (raw)

This avoid an extra make invocation on `prepare0'.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
 Kbuild   |    4 +++-
 Makefile |    1 -
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Kbuild b/Kbuild
index 2114113..1a2eb32 100644
--- a/Kbuild
+++ b/Kbuild
@@ -88,10 +88,12 @@ $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s Kbuild
 # 3) Check for missing system calls
 #
 
+always += missing-syscalls
+targets += missing-syscalls
+
 quiet_cmd_syscalls = CALL    $<
       cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
 
-PHONY += missing-syscalls
 missing-syscalls: scripts/checksyscalls.sh FORCE
 	$(call cmd,syscalls)
 
diff --git a/Makefile b/Makefile
index 0f1db8d..8e00684 100644
--- a/Makefile
+++ b/Makefile
@@ -983,7 +983,6 @@ archprepare: prepare1 scripts_basic
 
 prepare0: archprepare FORCE
 	$(Q)$(MAKE) $(build)=.
-	$(Q)$(MAKE) $(build)=. missing-syscalls
 
 # All the preparing..
 prepare: prepare0
-- 
1.7.6.153.g78432


             reply	other threads:[~2011-08-25  1:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25  1:03 Arnaud Lacombe [this message]
2011-09-09 11:55 ` Michal Marek
2011-09-14  5:17   ` Arnaud Lacombe
2011-11-01 23:22     ` Michal Marek
2011-11-07 20:44       ` Ralf Baechle
2011-11-07 21:19         ` Michal Marek
2011-11-07 23:33           ` Ralf Baechle
2011-11-08  8:25             ` Michal Marek
2011-11-08  9:53               ` Ralf Baechle
2011-11-08 18:21               ` David Daney
2011-11-08 22:30                 ` Michal Marek
2011-11-09  9:54                   ` Ralf Baechle
2011-11-09 13:43                     ` Michal Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1314234210-11090-1-git-send-email-lacombar@gmail.com \
    --to=lacombar@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®