aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-08-30 15:06:48 +0800
committerKhem Raj <raj.khem@gmail.com>2019-08-30 06:45:52 -0700
commit00582ff496d6e304b244305d511cbd2b766a00ec (patch)
treea2a42473c82228da892bc4a27f82ab6e8fb227c9 /meta-initramfs
parent97c0af597b32623d1f05970a35342fdecb72209c (diff)
downloadmeta-openembedded-contrib-00582ff496d6e304b244305d511cbd2b766a00ec.tar.gz
grubby: support usrmerge
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-devtools/grubby/grubby_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
index 6d53f48cd16..7248147a5ca 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
@@ -25,7 +25,7 @@ RDEPENDS_${PN} += "dracut"
inherit autotools-brokensep ptest
-EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}'"
+EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}' 'PREFIX'=${@bb.utils.contains('DISTRO_FEATURES','usrmerge','/usr','',d)}"
LIBS_libc-musl = "-lexecinfo"
LIBS ?= ""