Changeset 26432


Ignore:
Timestamp:
2011-04-03T04:10:32+02:00 (6 years ago)
Author:
nbd
Message:

build: move the SH_FUNC eval to the beginning of the opkg control file build command chain, not in front of every single command

File:
1 edited

Legend:

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

    r26431 r26432  
    3131ifdef Package/$(1)/$(2) 
    3232  $(call shexport,Package/$(1)/$(2)) 
    33   $(1)_COMMANDS += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2); 
     33  $(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2); 
    3434endif 
    3535endef 
     
    114114        ) > $$(IDIR_$(1))/CONTROL/control 
    115115        chmod 644 $$(IDIR_$(1))/CONTROL/control 
    116         (cd $$(IDIR_$(1))/CONTROL; \ 
     116        $(SH_FUNC) (cd $$(IDIR_$(1))/CONTROL; \ 
    117117                $($(1)_COMMANDS) \ 
    118118        ) 
Note: See TracChangeset for help on using the changeset viewer.