diff options
author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2006-01-01 08:23:47 -0500 |
---|---|---|
committer | <sam@mars.ravnborg.org> | 2006-01-01 13:31:30 -0500 |
commit | 6073aa643f52fd12b02f0532dc96287f4c3293b5 (patch) | |
tree | 272fc07333289b0a788996dcd2034b80d1693178 /scripts/package/Makefile | |
parent | 752625cff3eba81cbc886988d5b420064c033948 (diff) |
kbuild: tar-pkg with out-out-tree building
Fix out-of-tree builds for the tar-pkg targets
When I wrote the buildtar script, I didn't even think about
out-of-tree builds because I didn't use these back then. This patch
throughoutly uses ${objtree} instead of `pwd`.
Also, the kernel version is no longer manually built. Instead, it will
properly use $KERNELRELEASE . Installing modules is only done if
CONFIG_MODULES is set.
Signed-off-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/package/Makefile')
-rw-r--r-- | scripts/package/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index f3e7e8e4a500..c201ef001f09 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
@@ -84,7 +84,7 @@ clean-dirs += $(objtree)/debian/ | |||
84 | # --------------------------------------------------------------------------- | 84 | # --------------------------------------------------------------------------- |
85 | .PHONY: tar%pkg | 85 | .PHONY: tar%pkg |
86 | tar%pkg: | 86 | tar%pkg: |
87 | $(MAKE) | 87 | $(MAKE) KBUILD_SRC= |
88 | $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ | 88 | $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ |
89 | 89 | ||
90 | clean-dirs += $(objtree)/tar-install/ | 90 | clean-dirs += $(objtree)/tar-install/ |