Changeset 8583


Ignore:
Timestamp:
2007-09-03T09:51:56+02:00 (10 years ago)
Author:
nico
Message:

provide default PKG_BUILD_DIR for packages missing a PKG_VERSION

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel.mk

    r8575 r8583  
    4545  LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) \ 
    4646 
    47   PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     47  PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) 
    4848endif 
    4949GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL) 
  • trunk/include/package.mk

    r8567 r8583  
    88all: $(if $(DUMP),dumpinfo,compile) 
    99 
    10 PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     10PKG_BUILD_DIR ?= $(BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) 
    1111PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install 
    1212PKG_MD5SUM ?= unknown 
Note: See TracChangeset for help on using the changeset viewer.