DESCRIPTION = "APEX Boot Loader Environment User Modification Tool" SECTION = "util" PRIORITY = "optional" HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader" LICENSE = "GPL" PR = "r1" SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \ file://find-apex-partition.patch \ " S = ${WORKDIR}/apex-${PV}/usr EXTRA_OEMAKE_append = " CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${HOST_PREFIX}" oe_runmake() { oenote make ${PARALLEL_MAKE} CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} "$@" make ${PARALLEL_MAKE} LDFLAGS= CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX} "$@" || die "oe_runmake failed" } do_install() { ${STRIP} ${S}/apex-env install -d ${D}/${sbindir} install -m 755 ${S}/apex-env ${D}/${sbindir} } SRC_URI[md5sum] = "bb96cc8d50b4f00ee653f0800643ea8a" SRC_URI[sha256sum] = "4ad287720b87213154fa272afee5f442b0d8d61c1f56e43d0d056ae25849a926"