[meta-virtualization] [PATCH] ipxe: recipe cleanup and uprev to current

Chris Patterson cjp256 at gmail.com
Thu Oct 11 08:17:06 PDT 2018


From: Chris Patterson <pattersonc at ainfosec.com>

- Use OE's cross compiler (was building with host's).
- Uprev to latest git (no releases)
- Update LICENSE file path and checksum
- Remove configure sed and set isolinux bin variable used in Makefile
- Scrub LDFLAGS and use LD
- Add xz depends

Signed-off-by: Chris Patterson <pattersonc at ainfosec.com>
---
 recipes-extended/ipxe/ipxe_git.bb | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/recipes-extended/ipxe/ipxe_git.bb b/recipes-extended/ipxe/ipxe_git.bb
index c0c8a7b..18c92d2 100644
--- a/recipes-extended/ipxe/ipxe_git.bb
+++ b/recipes-extended/ipxe/ipxe_git.bb
@@ -1,10 +1,10 @@
 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"
+DEPENDS = "binutils-native perl-native syslinux mtools-native cdrtools-native xz"
+LIC_FILES_CHKSUM = "file://../COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCREV = "8c43891db4eb131d019360ccfb619f235b17eb58"
+SRCREV = "133f4c47baef6002b2ccb4904a035cda2303c6e5"
 PV = "gitr${SRCPV}"
 PR = "r0"
 
@@ -12,15 +12,10 @@ SRC_URI = "git://git.ipxe.org/ipxe.git;protocol=https"
 
 FILES_${PN} = "/usr/share/firmware/*.rom"
 
-EXTRA_OEMAKE = "NO_WERROR=1"
-#PARALLEL_MAKE=""
+EXTRA_OEMAKE = "NO_WERROR=1 ISOLINUX_BIN="${STAGING_DIR_TARGET}/usr/share/syslinux/isolinux.bin" CROSS_COMPILE="${TARGET_PREFIX}""
 
 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
 }
-- 
2.1.4



More information about the meta-virtualization mailing list