diff options
-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 |