Changeset 27407


Ignore:
Timestamp:
2011-07-03T19:38:23+02:00 (7 years ago)
Author:
blogic
Message:

automatic subtarget enumaration

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r27033 r27407  
    1818DEFAULT_PACKAGES.bootloader:= 
    1919 
    20 # Add device specific packages 
    21 DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) 
    22  
    2320ifneq ($(DUMP),) 
    2421  all: dumpinfo 
     
    3128else 
    3229  PLATFORM_DIR:=${CURDIR} 
     30  ifeq ($(SUBTARGETS),) 
     31    SUBTARGETS:=$(strip $(patsubst $(PLATFORM_DIR)/%/target.mk,%,$(wildcard $(PLATFORM_DIR)/*/target.mk))) 
     32  endif 
    3333endif 
    3434 
     
    4848  endif 
    4949endif 
     50 
     51# Add device specific packages (here below to allow device type set from subtarget) 
     52DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) 
    5053 
    5154define Profile/Default 
  • trunk/target/linux/lantiq/Makefile

    r27405 r27407  
    1111BOARDNAME:=Lantiq GPON/XWAY 
    1212FEATURES:=squashfs jffs2 
    13 SUBTARGETS:=xway falcon ase 
     13#SUBTARGETS:=xway falcon ase 
    1414 
    1515LINUX_VERSION:=2.6.39.2 
Note: See TracChangeset for help on using the changeset viewer.