mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

Adds patch to fix detection of the "no-pie" vs "nopie" flag, which needs to be performed for both the host and target compilers; cannot assume that one works for the other. Use EXTRA_HOST_CFLAGS and EXTRA_HOST_LDFLAGS variables for passing the host tool build parameters: BUILD_CFLAGS and BUILD_LDFLAGS. Drop unneeded 'NO_WERROR=1' from the recipe and rewrap line. Uprev commit to latest git revision. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
36 lines
939 B
BlitzBasic
36 lines
939 B
BlitzBasic
DESCRIPTION = "Open source network boot firmware"
|
|
HOMEPAGE = "http://ipxe.org"
|
|
LICENSE = "GPLv2"
|
|
DEPENDS = "binutils-native perl-native syslinux mtools-native cdrtools-native xz"
|
|
LIC_FILES_CHKSUM = "file://../COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRCREV = "64b4452bca04af433f1c98ab782c0e93cd5c88c0"
|
|
PV = "gitr${SRCPV}"
|
|
PR = "r0"
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI = " \
|
|
git://git.ipxe.org/ipxe.git;protocol=https \
|
|
file://ipxe-fix-hostcc-nopie-cflags.patch \
|
|
"
|
|
|
|
FILES_${PN} = "/usr/share/firmware/*.rom"
|
|
|
|
EXTRA_OEMAKE = " \
|
|
ISOLINUX_BIN="${STAGING_DIR_TARGET}/usr/share/syslinux/isolinux.bin" \
|
|
CROSS_COMPILE="${TARGET_PREFIX}" \
|
|
EXTRA_HOST_CFLAGS="${BUILD_CFLAGS}" \
|
|
EXTRA_HOST_LDFLAGS="${BUILD_LDFLAGS}""
|
|
|
|
S = "${WORKDIR}/git/src"
|
|
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}/usr/share/firmware
|
|
install ${S}/bin/*.rom ${D}/usr/share/firmware/
|
|
}
|