gmp: improve reproducibility
PATCH v2 1/1 gmp: improve reproducibility
nativesdk-gmp package contains host references in output packages. remove them.
---
v2
- move common code to separate function
---
--- meta/recipes-support/gmp/gmp_6.3.0.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
meta/recipes-support/gmp/gmp_6.3.0.bb +9 -1
@@ -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
Signature · 1 line
2.33.0
Quoted 27 lines · Oleh Matiusha via lists.openembedded.org
nativesdk-gmp package contains host references in output packages. remove them.
Signed-off-by Oleh Matiusha <[email protected]>---
v2
- move common code to separate function
------ meta/recipes-support/gmp/gmp_6.3.0.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)meta/recipes-support/gmp/gmp_6.3.0.bb +1
-1@@ -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
meta/recipes-support/gmp/gmp_6.3.0.bb do_install:append() { · line 46
Quoted 10 lines
meta/recipes-support/gmp/gmp_6.3.0.bb +8
-0} +do_install:prepend:class-target() { + fix_absolute_paths +} + +do_install:prepend:class-nativesdk() { + fix_absolute_paths +} +
why can't we have it in common do_install shared across all variants of recipes.
Quoted 15 lines
meta/recipes-support/gmp/gmp_6.3.0.bb +0
-1SSTATE_SCAN_FILES += "gmp.h" # Doesn't compile in MIPS16e mode due to use of hand-written --2.33.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197565): https://lists.openembedded.org/g/openembedded-core/message/197565
Mute This Topic: https://lists.openembedded.org/mt/105181617/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-