mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 05:02:21 +02: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
|
||||
}
|
||||
|
||||
do_install:prepend:class-target() {
|
||||
fix_absolute_paths () {
|
||||
sed -i \
|
||||
-e "s|--sysroot=${STAGING_DIR_HOST}||g" \
|
||||
-e "s|${DEBUG_PREFIX_MAP}||g" \
|
||||
${B}/gmp.h
|
||||
}
|
||||
|
||||
do_install:prepend:class-target() {
|
||||
fix_absolute_paths
|
||||
}
|
||||
|
||||
do_install:prepend:class-nativesdk() {
|
||||
fix_absolute_paths
|
||||
}
|
||||
|
||||
SSTATE_SCAN_FILES += "gmp.h"
|
||||
|
||||
# Doesn't compile in MIPS16e mode due to use of hand-written
|
||||
|
||||
Reference in New Issue
Block a user