DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" SECTION = "bootloader" include u-boot-dey-rev_${PV}.inc SRC_URI += "file://fw_env.config" S = "${WORKDIR}/git" EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"' inherit uboot-config do_compile() { oe_runmake ${UBOOT_MACHINE} oe_runmake env } do_install() { install -d ${D}${base_sbindir} ${D}${sysconfdir} install -m 0755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv ln -sf fw_printenv ${D}${base_sbindir}/fw_setenv install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/ } PACKAGE_ARCH = "${MACHINE_ARCH}" COMPATIBLE_MACHINE = "(mx6)"