summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
-rw-r--r--include/package.mk3
2 files changed, 5 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 4cf0e7a..9792d04 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
diff --git a/include/package.mk b/include/package.mk
index e9d73e4..44fe33a 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