Skip to contentSkip to conversation

dsptop: fix build with any toolchain by passing correct CC var

PATCH New Denys Dmytriyenko 1 participant 2 messages Nov 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dsptop: fix build with any toolchain by passing correct CC var

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/dsptop/dsptop_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/dsptop/dsptop_git.bb +2 -2
index 121dc9b..70f9166 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979
 
 DEPENDS = "libulm ncurses"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/git/dsptop"
 
@@ -12,7 +12,7 @@ DEVICE = ""
 DEVICE_dra7xx = "DRA7xx"
 DEVICE_keystone = "C66AK2Hxx"
 
-EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
+EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
 
 do_install() {
     oe_runmake install DESTDIR=${D}
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 rwmem: fix build with any toolchain and use default CC var

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/rwmem/rwmem_1.1.bb | 2 --
 1 file changed, 2 deletions(-)
recipes-bsp/rwmem/rwmem_1.1.bb +0 -2
index 1825e18..2848e1c 100644
@@ -7,8 +7,6 @@ SRC_URI = "git://github.com/tomba/rwmem.git"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
-
 do_install() {
 	install -d ${D}${bindir}
 	install -m 0755 rwmem ${D}${bindir}
Signature · 1 line
2.7.4