mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
12d6728142
commit
d796938ccc
@ -44,7 +44,7 @@ else
|
|||||||
TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
|
TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
|
||||||
LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) \
|
LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) \
|
||||||
|
|
||||||
PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))
|
||||||
endif
|
endif
|
||||||
GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL)
|
GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL)
|
||||||
GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
|
GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
all: $(if $(DUMP),dumpinfo,compile)
|
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_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install
|
||||||
PKG_MD5SUM ?= unknown
|
PKG_MD5SUM ?= unknown
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user