mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
gmp: improve reproducibility
nativesdk-gmp package contains host references in output packages. remove them. (From OE-Core rev: 7b072b46bd0d0442066189ecf098b56e50ea77b1) Signed-off-by: Oleh Matiusha <omatiush@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cabeed4e6d
commit
e6da241f29
@@ -29,13 +29,21 @@ do_install:append() {
|
|||||||
oe_multilib_header gmp.h
|
oe_multilib_header gmp.h
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install:prepend:class-target() {
|
fix_absolute_paths () {
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s|--sysroot=${STAGING_DIR_HOST}||g" \
|
-e "s|--sysroot=${STAGING_DIR_HOST}||g" \
|
||||||
-e "s|${DEBUG_PREFIX_MAP}||g" \
|
-e "s|${DEBUG_PREFIX_MAP}||g" \
|
||||||
${B}/gmp.h
|
${B}/gmp.h
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install:prepend:class-target() {
|
||||||
|
fix_absolute_paths
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install:prepend:class-nativesdk() {
|
||||||
|
fix_absolute_paths
|
||||||
|
}
|
||||||
|
|
||||||
SSTATE_SCAN_FILES += "gmp.h"
|
SSTATE_SCAN_FILES += "gmp.h"
|
||||||
|
|
||||||
# Doesn't compile in MIPS16e mode due to use of hand-written
|
# Doesn't compile in MIPS16e mode due to use of hand-written
|
||||||
|
|||||||
Reference in New Issue
Block a user