diff options
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/cbootimage/cbootimage.bb | 3 | ||||
-rw-r--r-- | recipes-bsp/tegrarcm/tegrarcm.bb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/cbootimage/cbootimage.bb b/recipes-bsp/cbootimage/cbootimage.bb index 9cf6705..66e5594 100644 --- a/recipes-bsp/cbootimage/cbootimage.bb +++ b/recipes-bsp/cbootimage/cbootimage.bb @@ -15,6 +15,9 @@ PV = "1.4" EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"' +#we want cbootimage binary to run on a 32-bit architecture, on x86_64 this requires the 32-bit compatibility libs +EXTRA_OEMAKE_class-native = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -m32' 'BUILDDIR=${S}'" + S = "${WORKDIR}/git" inherit autotools diff --git a/recipes-bsp/tegrarcm/tegrarcm.bb b/recipes-bsp/tegrarcm/tegrarcm.bb index 0180a36..b4aedb6 100644 --- a/recipes-bsp/tegrarcm/tegrarcm.bb +++ b/recipes-bsp/tegrarcm/tegrarcm.bb @@ -15,6 +15,9 @@ PV = "1.6" EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"' +#we want tegrarcm binary to run on a 32-bit architecture, on x86_64 this requires the 32-bit compatibility libs +EXTRA_OEMAKE_class-native = "CC='${CC} -m32' CXX='${CXX} -m32'" + do_compile () { oe_runmake CPPFLAGS=-I${includedir}/cryptopp || die "make failed" } |