diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-03-21 01:22:35 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-03-21 01:22:35 -0500 |
commit | 6c2133e11b422b7379b5a660c639f7d53d18ca3b (patch) | |
tree | a4b76b5d1772d1ac6067bbe92a8a07e39647a60e /Makefile | |
parent | dc9a49a4af9cdbe3d79183eefb12372b4dbc09c2 (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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -994,9 +994,9 @@ distclean: mrproper | |||
994 | package-dir := $(srctree)/scripts/package | 994 | package-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) $@ |
998 | rpm: FORCE | 998 | rpm: 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 |