Changeset 9575 for trunk/rules.mk


Ignore:
Timestamp:
2007-11-17T15:14:16+01:00 (9 years ago)
Author:
nbd
Message:

fix hostapd rebuild check, isolate the common src/ directory for hostapd variants as well to fix compile errors when both variants are selected (#2722)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r9565 r9575  
    139139endef 
    140140 
    141 define confvar 
    142 $(1):=$$(strip $$($(1)))_ 
    143 $(foreach v,$(2), 
    144   $(1):=$$(strip $$($(1)))$(if $($(v)),y,n) 
    145 ) 
    146 endef 
     141empty:= 
     142space:= $(empty) $(empty) 
     143merge=$(subst $(space),,$(1)) 
     144confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n))) 
    147145 
    148146# file extension 
Note: See TracChangeset for help on using the changeset viewer.