Skip to contentSkip to conversation

arm/scp-firmware: mark as machine-specific

PATCH New Ross Burton 1 participant 2 messages Aug 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm/scp-firmware: mark as machine-specific

From: Ross Burton <[email protected]>

Firmware is machine-specific, so set PACKAGE_ARCH.

Change-Id Ib3247d04eaacd2b4240a1e11353f06ebd381a4c6
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +1 -0
index 1c66bf7..a5a4c06 100644
@@ -29,6 +29,7 @@ S = "${WORKDIR}/git"
 # Allow platform specific copying of only scp or both scp & mcp, default to both
 FW_TARGETS ?= "scp mcp"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE ?= "invalid"
 
 LDFLAGS[unexport] = "1"
Signature · 1 line
2.26.2
#1 lore raw

PATCH 2/2 arm/scp-firmware: don't set DEBUG_PREFIX_MAP

From: Ross Burton <[email protected]>

The current arm-none-eabi-gcc supports all the flags that oe-core uses, so we can remove this.

Noticed because due to the override it wasn't actually being used.

Change-Id I09aa8c5d427fa3877f9947a0508c36a4f060ae68
---
 meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb | 7 -------
 1 file changed, 7 deletions(-)
meta-arm/recipes-bsp/scp-firmware/scp-firmware_2.6.0.bb +0 -7
index a5a4c06..6abe4ae 100644
@@ -34,13 +34,6 @@ COMPATIBLE_MACHINE ?= "invalid"
 
 LDFLAGS[unexport] = "1"
 
-# The gcc-arm-none-eabi version does not support -fmacro-prefix-max
-DEBUG_PREFIX_MAP_pn-scp = "\
-    -fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \
-    -fdebug-prefix-map=${STAGING_DIR_HOST}= \
-    -fdebug-prefix-map=${STAGING_DIR_NATIVE}= \
-"
-
 # No configure
 do_configure[noexec] = "1"
 
Signature · 1 line
2.26.2