mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
meta: remove True option to getVar calls (again)
* True is default since 2016 and most layers were already updated not to pass this parameter where not necessary, e.g. oe-core was updated couple times, first in: https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f Updated with the same regexp as later oe-core update: https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -19,14 +19,14 @@ RPROVIDES:${PN} = "mongoose graphblas"
|
||||
# the command line. To get around this problem, set these variables to only the
|
||||
# program name and prepend the rest of the value onto the corresponding FLAGS
|
||||
# variable.
|
||||
CFLAGS:prepend := "${@" ".join(d.getVar('CC', True).split()[1:])} "
|
||||
export CC := "${@d.getVar('CC', True).split()[0]}"
|
||||
CFLAGS:prepend := "${@" ".join(d.getVar('CC').split()[1:])} "
|
||||
export CC := "${@d.getVar('CC').split()[0]}"
|
||||
|
||||
CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX', True).split()[1:])} "
|
||||
export CXX := "${@d.getVar('CXX', True).split()[0]}"
|
||||
CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX').split()[1:])} "
|
||||
export CXX := "${@d.getVar('CXX').split()[0]}"
|
||||
|
||||
LDFLAGS:prepend := "${@" ".join(d.getVar('LD', True).split()[1:])} "
|
||||
export LD := "${@d.getVar('LD', True).split()[0]}"
|
||||
LDFLAGS:prepend := "${@" ".join(d.getVar('LD').split()[1:])} "
|
||||
export LD := "${@d.getVar('LD').split()[0]}"
|
||||
|
||||
export CMAKE_OPTIONS = " \
|
||||
-DCMAKE_INSTALL_PREFIX=${D}${prefix} \
|
||||
|
||||
Reference in New Issue
Block a user