mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-19 00:58:35 +00:00
mg: stop relying on make -e
Relying on 'make -e' isn't ideal, as it's less implicit behavior, relies on variable exports, and hides the variables being used from someone reading the recipe. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
2318f8ee8b
commit
49721325be
@ -11,7 +11,17 @@ SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz \
|
||||
SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e"
|
||||
SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229"
|
||||
|
||||
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
||||
# CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?=
|
||||
EXTRA_OEMAKE = "\
|
||||
'CC=${CC}' \
|
||||
'LDFLAGS=${LDFLAGS}' \
|
||||
\
|
||||
'prefix=${prefix}' \
|
||||
'bindir=${bindir}' \
|
||||
'libdir=${libdir}' \
|
||||
'includedir=${includedir}' \
|
||||
'mandir=${mandir}' \
|
||||
"
|
||||
|
||||
do_configure () {
|
||||
sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user