From bc03e88abd76dfe4618e88f063c51c8f6a560ce4 Mon Sep 17 00:00:00 2001 From: Saqib Khan Date: Fri, 10 Mar 2017 11:26:09 -0600 Subject: 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 --- .../meta-openpower/common/recipes-bsp/iicmaster/iicmaster.bb | 3 +++ .../meta-openpower/common/recipes-bsp/skiboot/pflash.bb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'meta-openbmc-machines') 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}" -- cgit v1.2.1