Changeset 14374


Ignorieren:
Zeitstempel:
07.08.2017 21:38:30 (vor 12 Tagen)
Autor:
er13
Nachricht:
  • add new PKG macro PKG_ADD_EXTRA_FLAGS
Datei:
1 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/Makefile.in

    r14344 r14374  
    292292# 1st level PKG_PREVENT_RPATH_HARDCODING 
    293293PKG_PREVENT_RPATH_HARDCODING1 = $(subst $$$$,$$,$(call PKG_PREVENT_RPATH_HARDCODING,$1)) 
     294 
     295# Changes a typical Makefile.in line from "FOO = @FOO@" to "FOO = @FOO@ $(EXTRA_FOO)", i.e. adds $(EXTRA_FOO) at the end 
     296# $1 - variable name or variable names separated by |, i.e. regex OR pattern 
     297# $2 - optional $($(PKG)_DIR) subdir 
     298PKG_ADD_EXTRA_FLAGS = find $(abspath $($(PKG)_DIR))$(if $(strip $2),/$(strip $2)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^($(strip $1))[ \t]*=[ \t]*@\1@,& $$$$(EXTRA_\1),' \{\} \+; 
    294299 
    295300# Change prefix of all $3_cv_* variables in $1 to $(pkg). 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.