All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipxe: recipe cleanup and uprev to current
@ 2018-10-11 15:17 Chris Patterson
  2018-10-11 18:39 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Patterson @ 2018-10-11 15:17 UTC (permalink / raw)
  To: meta-virtualization; +Cc: Chris Patterson

From: Chris Patterson <pattersonc@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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipxe: recipe cleanup and uprev to current
  2018-10-11 15:17 [PATCH] ipxe: recipe cleanup and uprev to current Chris Patterson
@ 2018-10-11 18:39 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2018-10-11 18:39 UTC (permalink / raw)
  To: Chris Patterson; +Cc: meta-virtualization, Chris Patterson

merged

Bruce
On Thu, Oct 11, 2018 at 11:17 AM Chris Patterson <cjp256@gmail.com> wrote:
>
> From: Chris Patterson <pattersonc@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@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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-11 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-11 15:17 [PATCH] ipxe: recipe cleanup and uprev to current Chris Patterson
2018-10-11 18:39 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.