rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | TOOLCHAIN = "gcc" |
| 2 | |
| 3 | do_compile() { |
| 4 | if [ -d "${WORKONSRC}" ]; then |
| 5 | echo ${TARGET_PLATFORM} met-utils start compile |
| 6 | |
| 7 | if test "${KERNEL_ARCH}" = "arm64"; then |
| 8 | oe_runmake -f ${WORKONSRC}/Makefile TOPDIR=${TOPDIR} ARCH=arm64 CROSS_COMPILE=aarch64${TARGET_VENDOR}-linux- TOOLCHAIN_NAME=${TOOLCHAIN} |
| 9 | else |
| 10 | oe_runmake -f ${WORKONSRC}/Makefile TOPDIR=${TOPDIR} ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- TOOLCHAIN_NAME=${TOOLCHAIN} |
| 11 | fi |
| 12 | |
| 13 | echo ${TARGET_PLATFORM} met-utils end compile |
| 14 | fi |
| 15 | } |