aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-03-21 01:22:35 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2006-03-21 01:22:35 -0500
commit6c2133e11b422b7379b5a660c639f7d53d18ca3b (patch)
treea4b76b5d1772d1ac6067bbe92a8a07e39647a60e /Makefile
parentdc9a49a4af9cdbe3d79183eefb12372b4dbc09c2 (diff)
kbuild: fix make help & make *pkg
FORCE was not defined => error. Use kbuild infrastructure to call down to the relevant Makefile. This enables us to use the FORCE definition from kbuild. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3dbaac6d521d..0c223dfd3020 100644
--- a/Makefile
+++ b/Makefile
@@ -994,9 +994,9 @@ distclean: mrproper
994package-dir := $(srctree)/scripts/package 994package-dir := $(srctree)/scripts/package
995 995
996%pkg: FORCE 996%pkg: FORCE
997 $(Q)$(MAKE) -f $(package-dir)/Makefile $@ 997 $(Q)$(MAKE) $(build)=$(package-dir) $@
998rpm: FORCE 998rpm: FORCE
999 $(Q)$(MAKE) -f $(package-dir)/Makefile $@ 999 $(Q)$(MAKE) $(build)=$(package-dir) $@
1000 1000
1001 1001
1002# Brief documentation of the typical targets used 1002# Brief documentation of the typical targets used
@@ -1034,7 +1034,7 @@ help:
1034 @echo ' namespacecheck - Name space analysis on compiled kernel' 1034 @echo ' namespacecheck - Name space analysis on compiled kernel'
1035 @echo '' 1035 @echo ''
1036 @echo 'Kernel packaging:' 1036 @echo 'Kernel packaging:'
1037 @$(MAKE) -f $(package-dir)/Makefile help 1037 @$(MAKE) $(build)=$(package-dir) help
1038 @echo '' 1038 @echo ''
1039 @echo 'Documentation targets:' 1039 @echo 'Documentation targets:'
1040 @$(MAKE) -f $(srctree)/Documentation/DocBook/Makefile dochelp 1040 @$(MAKE) -f $(srctree)/Documentation/DocBook/Makefile dochelp