aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-16 19:18:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-16 19:18:55 +0000
commit1d307eea87ca839a93e6b580e841c98ee2af9571 (patch)
treeffc6f0db61d8e167214c2e2ebf8a770463973bad /include/kernel.mk
parentedea35b85ee74122f5579519d0fa0d3af16bf9fa (diff)
downloadupstream-1d307eea87ca839a93e6b580e841c98ee2af9571.tar.gz
upstream-1d307eea87ca839a93e6b580e841c98ee2af9571.tar.bz2
upstream-1d307eea87ca839a93e6b580e841c98ee2af9571.zip
add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 4cf0e7a72d..9792d04d0d 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -43,6 +43,8 @@ else
http://www.kernel.org/pub/linux/kernel/v$(KERNEL) \
http://www.de.kernel.org/pub/linux/kernel/v$(KERNEL)
+ PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
endif