aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-07-23 19:37:44 +0200
committerSam Ravnborg <sam@neptun.ravnborg.org>2006-09-25 09:00:00 +0200
commit48f1f0589dd09df6ea07d41c737db3218ad2cb79 (patch)
tree2dd9563f30467f252e08477e7e63c4adeb4c0caa /usr
parentd3660a8cbdfad620af88b85b7bbfff29160f14c2 (diff)
downloadkernel_samsung_smdk4412-48f1f0589dd09df6ea07d41c737db3218ad2cb79.zip
kernel_samsung_smdk4412-48f1f0589dd09df6ea07d41c737db3218ad2cb79.tar.gz
kernel_samsung_smdk4412-48f1f0589dd09df6ea07d41c737db3218ad2cb79.tar.bz2
kbuild: consistently decide when to rebuild a target
Consistently decide when to rebuild a target across all of if_changed, if_changed_dep, if_changed_rule. PHONY targets are now treated alike (ignored) for all targets While add it make Kbuild.include almost readable by factoring out a few bits to some common variables and reuse this in Makefile.build. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'usr')
-rw-r--r--usr/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/Makefile b/usr/Makefile
index 5b31c0b..e338e7b 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -3,6 +3,8 @@
#
klibcdirs:;
+PHONY += klibcdirs
+
# Generate builtin.o based on initramfs_data.o
obj-y := initramfs_data.o