Message ID | 20250404173445.3901440-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/2] arm/execstack-native: add new recipe | expand |
On Fri, 04 Apr 2025 18:34:44 +0100, Ross Burton wrote: > Add a recipe for the execstack binary from prelink-cross. This tool is > used to manipulate the GNU_STACK segment in ELF binaries, specifically > to control whether the binary requests an executable stack or not. > > Applied, thanks! [1/2] arm/execstack-native: add new recipe commit: b19f24bd0ad6c153ea76f4a5b0a8e5fa0b916d72 [2/2] arm/fvp-base-a-aem: remove spurious executable stack from one library commit: 1d119f24f9eb4c65d944fbdb0ab2d737f3eaa001 Best regards,
diff --git a/meta-arm/recipes-devtools/fvp/execstack-native.bb b/meta-arm/recipes-devtools/fvp/execstack-native.bb new file mode 100644 index 00000000..055d39ed --- /dev/null +++ b/meta-arm/recipes-devtools/fvp/execstack-native.bb @@ -0,0 +1,21 @@ +SUMMARY = "execstack tool" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" + +DEPENDS = "binutils-native elfutils-native" + +SRC_URI = "git://git.yoctoproject.org/prelink-cross;protocol=https;branch=master" +SRCREV = "ff2561c02ade96c5d4d56ddd4e27ff064840a176" +PV = "1.0+git${SRCPV}" + +S = "${WORKDIR}/git" + +inherit autotools native + +do_compile() { + oe_runmake -C ${B}/src execstack +} + +do_install() { + oe_runmake -C ${B}/src install-binPROGRAMS DESTDIR="${D}" +}
Add a recipe for the execstack binary from prelink-cross. This tool is used to manipulate the GNU_STACK segment in ELF binaries, specifically to control whether the binary requests an executable stack or not. Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../recipes-devtools/fvp/execstack-native.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-arm/recipes-devtools/fvp/execstack-native.bb