Changeset 18464


Ignore:
Timestamp:
2009-11-22T08:08:39+01:00 (8 years ago)
Author:
nbd
Message:

build variants: only build opkg packages for the requested build variant (or any if no variant was specified for the package)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/package-ipkg.mk

    r17504 r18464  
    3737    INFO_$(1):=$(IPKG_STATE_DIR)/info/$(1).list 
    3838 
     39    ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT)) 
    3940    ifdef Package/$(1)/install 
    4041      ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),) 
     
    4950                @echo "WARNING: skipping $(1) -- package not selected" 
    5051      endif 
     52    endif 
    5153    endif 
    5254 
  • trunk/package/hostapd/Makefile

    r18417 r18464  
    109109endef 
    110110 
    111 define Package/InstallTemplate 
     111define Package/hostapd/install 
    112112        $(INSTALL_DIR) $(1)/etc/hotplug.d/net 
    113113        $(INSTALL_DATA) ./files/hostapd.hotplug $(1)/etc/hotplug.d/net/ 
     
    117117        $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd/hostapd $(1)/usr/sbin/ 
    118118endef 
    119  
    120 ifeq ($(BUILD_VARIANT),full) 
    121   Package/hostapd/install = $(Package/InstallTemplate) 
    122 else 
    123   Package/hostapd-mini/install = $(Package/InstallTemplate) 
    124 endif 
     119Package/hostapd-mini/install = $(Package/hostapd/install) 
    125120 
    126121define Package/hostapd-utils/install 
Note: See TracChangeset for help on using the changeset viewer.