diff options
Diffstat (limited to 'import-layers/meta-virtualization/recipes-extended/ipxe/ipxe_git.bb')
-rw-r--r-- | import-layers/meta-virtualization/recipes-extended/ipxe/ipxe_git.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/import-layers/meta-virtualization/recipes-extended/ipxe/ipxe_git.bb b/import-layers/meta-virtualization/recipes-extended/ipxe/ipxe_git.bb new file mode 100644 index 000000000..d52c5675f --- /dev/null +++ b/import-layers/meta-virtualization/recipes-extended/ipxe/ipxe_git.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Open source network boot firmware" +HOMEPAGE = "http://ipxe.org" +LICENSE = "GPLv2" +DEPENDS = "binutils-native perl-native syslinux mtools-native cdrtools-native" +LIC_FILES_CHKSUM = "file://../COPYING;md5=8ca43cbc842c2336e835926c2166c28b" + +SRCREV = "8c43891db4eb131d019360ccfb619f235b17eb58" +PV = "gitr${SRCPV}" +PR = "r0" + +SRC_URI = "git://git.ipxe.org/ipxe.git;protocol=git" + +FILES_${PN} = "/usr/share/firmware/*.rom" + +EXTRA_OEMAKE = "NO_WERROR=1" +#PARALLEL_MAKE="" + +S = "${WORKDIR}/git/src" + +do_configure() { + sed -i s#^ISOLINUX_BIN[\ \\t]*=.*#ISOLINUX_BIN\ =\ ${STAGING_DIR_TARGET}/usr/lib/syslinux/isolinux.bin# arch/i386/Makefile +} + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}/usr/share/firmware + install ${S}/bin/*.rom ${D}/usr/share/firmware/ +} |