diff options
| author | Christopher Larson <chris_larson@mentor.com> | 2016-05-17 09:10:15 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-05-27 15:38:22 +0200 |
| commit | 49721325bededb18d95d1dfe9fafa1e8ecc76677 (patch) | |
| tree | d4f4beb7651821a04c72d27a28e54a0162be6316 | |
| parent | 2318f8ee8be985a0e600fc457b8cc55d5aa9144f (diff) | |
| download | meta-openembedded-49721325bededb18d95d1dfe9fafa1e8ecc76677.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/mg/mg_20110905.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/mg/mg_20110905.bb b/meta-oe/recipes-support/mg/mg_20110905.bb index e924bbd4bb..95aeb62a3b 100644 --- a/meta-oe/recipes-support/mg/mg_20110905.bb +++ b/meta-oe/recipes-support/mg/mg_20110905.bb | |||
| @@ -11,7 +11,17 @@ SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz \ | |||
| 11 | SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e" | 11 | SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e" |
| 12 | SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229" | 12 | SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229" |
| 13 | 13 | ||
| 14 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 14 | # CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?= |
| 15 | EXTRA_OEMAKE = "\ | ||
| 16 | 'CC=${CC}' \ | ||
| 17 | 'LDFLAGS=${LDFLAGS}' \ | ||
| 18 | \ | ||
| 19 | 'prefix=${prefix}' \ | ||
| 20 | 'bindir=${bindir}' \ | ||
| 21 | 'libdir=${libdir}' \ | ||
| 22 | 'includedir=${includedir}' \ | ||
| 23 | 'mandir=${mandir}' \ | ||
| 24 | " | ||
| 15 | 25 | ||
| 16 | do_configure () { | 26 | do_configure () { |
| 17 | sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},' | 27 | sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},' |
