From fd6854231fae5973932e87ebafb1b032d20d4135 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Thu, 11 Oct 2018 11:17:06 -0400 Subject: ipxe: recipe cleanup and uprev to current - 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 Signed-off-by: Bruce Ashfield --- 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 c0c8a7b7..18c92d2b 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 } -- cgit v1.2.3-54-g00ecf