mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
aoetool: make builds reproducible
Strip host path infomation out of binaries by not suppressing default CFLAGS. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -40,7 +40,8 @@ NPERSHELF=16
|
||||||
|
CONF_SCRIPTS = aoe-discover aoe-interfaces aoe-mkshelf aoe-revalidate aoe-flush aoe-stat
|
||||||
|
PROGS = aoeping aoecfg aoe-sancheck
|
||||||
|
COMMANDS := ${CONF_SCRIPTS} aoe-mkdevs aoe-version coraid-update ${PROGS}
|
||||||
|
-CFLAGS = -Wall -O -g
|
||||||
|
+# We could still override this on the command line.
|
||||||
|
+CFLAGS += -Wall -O -g
|
||||||
|
SANCHECKLIBS = -lpthread
|
||||||
|
|
||||||
|
AOE_PING_OBJ = aoeping.o linux.o
|
||||||
@@ -13,6 +13,7 @@ RRECOMMENDS_${PN} = "kernel-module-aoe"
|
|||||||
SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz \
|
SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz \
|
||||||
file://aoe-stat-no-bashism.patch \
|
file://aoe-stat-no-bashism.patch \
|
||||||
file://makefile-add-ldflags.patch \
|
file://makefile-add-ldflags.patch \
|
||||||
|
file://reproducible-build.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db"
|
SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db"
|
||||||
SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff"
|
SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff"
|
||||||
|
|||||||
Reference in New Issue
Block a user