summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaqib Khan <khansa@us.ibm.com>2017-03-10 11:26:09 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-03-29 21:31:50 +0000
commitbc03e88abd76dfe4618e88f063c51c8f6a560ce4 (patch)
treead557b83de43e7b5ec44eebc48e0fcca48d115f9
parentc8afc6a4110a9c34cd08862fb67ebf6286ce3313 (diff)
downloadtalos-openbmc-bc03e88abd76dfe4618e88f063c51c8f6a560ce4.tar.gz
talos-openbmc-bc03e88abd76dfe4618e88f063c51c8f6a560ce4.zip
meta-openpower: fix iicmaster and pflash warning
In order to fix GNU_HASH warning in the elf binary we need to add the LDFLAGS to the TARGET_CC_ARCH. Opened issues openbmc/openbmc#1361 and openbmc/openbmc#1362 to track removal. Change-Id: Ia6e4ad69c7f3e2c272146e39512400a19b44d760 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb3
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/pflash.bb3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb
index 00e0febd8..2511e45d2 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb
@@ -14,3 +14,6 @@ do_install() {
install -d ${D}${bindir}
install -m 0755 iicmaster ${D}${bindir}
}
+
+#TODO: openbmc/openbmc#1362 - Fix GNU_HASH warnings in iic2master
+TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/pflash.bb b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/pflash.bb
index 70852669b..05aa2fcca 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/pflash.bb
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-bsp/skiboot/pflash.bb
@@ -3,3 +3,6 @@ DESCRIPTION = "pflash firmware programming tool for OpenPower machines"
require skiboot.inc
EXTRA_OEMAKE_append = " PFLASH_VERSION=${PV} LINKAGE=dynamic"
+
+#TODO: openbmc/openbmc#1361 - Fix GNU_HASH warnings in pflash
+TARGET_CC_ARCH += "${LDFLAGS}"
OpenPOWER on IntegriCloud