summaryrefslogtreecommitdiffstats
path: root/scripts/package/Makefile
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2006-01-01 14:23:47 +0100
committer <sam@mars.ravnborg.org>2006-01-01 19:31:30 +0100
commit6073aa643f52fd12b02f0532dc96287f4c3293b5 (patch)
tree272fc07333289b0a788996dcd2034b80d1693178 /scripts/package/Makefile
parent752625cff3eba81cbc886988d5b420064c033948 (diff)
downloadop-kernel-dev-6073aa643f52fd12b02f0532dc96287f4c3293b5.zip
op-kernel-dev-6073aa643f52fd12b02f0532dc96287f4c3293b5.tar.gz
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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index f3e7e8e..c201ef00 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -84,7 +84,7 @@ clean-dirs += $(objtree)/debian/
# ---------------------------------------------------------------------------
.PHONY: tar%pkg
tar%pkg:
- $(MAKE)
+ $(MAKE) KBUILD_SRC=
$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
clean-dirs += $(objtree)/tar-install/
OpenPOWER on IntegriCloud