| SUMMARY = "Primary bootloader for NPCM8XX (Arbel) devices" |
| DESCRIPTION = "Primary bootloader for NPCM8XX (Arbel) devices" |
| HOMEPAGE = "https://github.com/Nuvoton-Israel/npcm8xx-bootblock" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| PACKAGE_ARCH = "${MACHINE_ARCH}" |
| git://github.com/Nuvoton-Israel/npcm8xx-bootblock;branch=${BB_BRANCH};protocol=https" |
| export CROSS_COMPILE="${TARGET_PREFIX}" |
| do_configure[noexec] = "1" |
| EXTRA_OEMAKE += "CROSS_COMPILER_INC=${STAGING_DIR_HOST}${includedir}" |
| TIP = "${@'tip' if d.getVar("TIP_IMAGE") == 'True' else 'no_tip'}" |
| BOOTBLOCK = "arbel_a35_bootblock" |
| BOOTBLOCK .= "${@'_no_tip' if d.getVar("TIP_IMAGE") != 'True' else ''}" |
| oe_runmake "${BOOTBLOCK}" ENCLAVE="${TIP}" |
| do_compile[cleandirs] = "${B}/Images" |
| install -m 644 "${B}/Images/${TIP}/${BOOTBLOCK}.bin" "${DEPLOYDIR}/${BOOTBLOCK}.bin" |
| addtask deploy before do_build after do_compile |