Skip to contentSkip to conversation

ipxe: recipe cleanup and uprev to current

PATCH In review Chris Patterson 2 participants 2 messages Oct 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipxe: recipe cleanup and uprev to current

From: Chris Patterson <[email protected]>

- 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

---
 recipes-extended/ipxe/ipxe_git.bb | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
recipes-extended/ipxe/ipxe_git.bb +4 -9
index c0c8a7b..18c92d2 100644
@@ -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
 }
Signature · 1 line
2.1.4
#1 lore raw

merged

Bruce

Quoted 58 lines · Chris Patterson

From: Chris Patterson <[email protected]>

- 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

---
 recipes-extended/ipxe/ipxe_git.bb | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
recipes-extended/ipxe/ipxe_git.bb +4 -10
index c0c8a7b..18c92d2 100644
@@ -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

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"