TOOLCHAIN = "gcc" | |
do_compile() { | |
if [ -d "${WORKONSRC}" ]; then | |
echo ${TARGET_PLATFORM} met-utils start compile | |
if test "${KERNEL_ARCH}" = "arm64"; then | |
oe_runmake -f ${WORKONSRC}/Makefile TOPDIR=${TOPDIR} ARCH=arm64 CROSS_COMPILE=aarch64${TARGET_VENDOR}-linux- TOOLCHAIN_NAME=${TOOLCHAIN} | |
else | |
oe_runmake -f ${WORKONSRC}/Makefile TOPDIR=${TOPDIR} ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- TOOLCHAIN_NAME=${TOOLCHAIN} | |
fi | |
echo ${TARGET_PLATFORM} met-utils end compile | |
fi | |
} |