diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-16 19:18:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-16 19:18:55 +0000 |
commit | 1d307eea87ca839a93e6b580e841c98ee2af9571 (patch) | |
tree | ffc6f0db61d8e167214c2e2ebf8a770463973bad /include/package.mk | |
parent | edea35b85ee74122f5579519d0fa0d3af16bf9fa (diff) | |
download | upstream-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/package.mk')
-rw-r--r-- | include/package.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk index e9d73e4a06..44fe33ae1f 100644 --- a/include/package.mk +++ b/include/package.mk @@ -7,6 +7,9 @@ all: $(if $(DUMP),dumpinfo,compile) +PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install + include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/unpack.mk |