aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-03 07:51:56 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-03 07:51:56 +0000
commit6a6fa5a4ab70f9f15f6f87fcf43a1588db612fe2 (patch)
tree3d9b77c4d4bc7c2aa4692bd70568b1f005b2e75d /include/package.mk
parentc8862d6777f15214aec4cee6d0f8f59203ebce30 (diff)
downloadupstream-6a6fa5a4ab70f9f15f6f87fcf43a1588db612fe2.tar.gz
upstream-6a6fa5a4ab70f9f15f6f87fcf43a1588db612fe2.tar.bz2
upstream-6a6fa5a4ab70f9f15f6f87fcf43a1588db612fe2.zip
provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 254588e8a0..074c7aded1 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -7,7 +7,7 @@
all: $(if $(DUMP),dumpinfo,compile)
-PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install
PKG_MD5SUM ?= unknown