diff options
| author | Jonathan Liu <net147@gmail.com> | 2013-05-09 13:24:02 +1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-16 00:09:46 +0300 |
| commit | badd71825352f4a2aaf40707154f4d5f506a45f6 (patch) | |
| tree | ef2ca1fa4baa6a72fc3bacdbd4e0290562712fc6 /meta/recipes-devtools/syslinux/syslinux_4.03.bb | |
| parent | fb89bb369be0863d7c1175fcf10c4860e547fd9c (diff) | |
| download | poky-badd71825352f4a2aaf40707154f4d5f506a45f6.tar.gz | |
syslinux: Update to 4.06
Patches are now part of upstream or no longer needed.
Added new util-linux dependency for isohybrid.
Paths updated to reflect directory structure changes.
Add CFLAGS and LDFLAGS overrides.
[YOCTO #4438]
(From OE-Core rev: 17e7ac0c5e75245d17a90e5cc49ade3d18a168ba)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/syslinux/syslinux_4.03.bb')
| -rw-r--r-- | meta/recipes-devtools/syslinux/syslinux_4.03.bb | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_4.03.bb b/meta/recipes-devtools/syslinux/syslinux_4.03.bb deleted file mode 100644 index 7c3ecda305..0000000000 --- a/meta/recipes-devtools/syslinux/syslinux_4.03.bb +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | DESCRIPTION = "A multi-purpose linux bootloader" | ||
| 2 | HOMEPAGE = "http://syslinux.zytor.com/" | ||
| 3 | LICENSE = "GPLv2+" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ | ||
| 5 | file://README;beginline=28;endline=34;md5=a4607efd4a6392017186d08099e7d546" | ||
| 6 | |||
| 7 | # If you really want to run syslinux, you need mtools. We just want the | ||
| 8 | # ldlinux.* stuff for now, so skip mtools-native | ||
| 9 | DEPENDS = "nasm-native" | ||
| 10 | PR = "r9" | ||
| 11 | |||
| 12 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/4.xx/syslinux-${PV}.tar.bz2 \ | ||
| 13 | file://cross-build.patch \ | ||
| 14 | file://no-strip.patch \ | ||
| 15 | file://libinstaller-Avoid-using-linux-ext2_fs.h.patch" | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "a7ca38a0a5786b6efae8fb01a1ae8070" | ||
| 18 | SRC_URI[sha256sum] = "c65567e324f9d1f7f794ae8f9578a0292bbd47d7b8d895a004d2f0152d0bda38" | ||
| 19 | |||
| 20 | COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' | ||
| 21 | |||
| 22 | EXTRA_OEMAKE = " \ | ||
| 23 | BINDIR=${bindir} SBINDIR=${sbindir} LIBDIR=${libdir} \ | ||
| 24 | DATADIR=${datadir} MANDIR=${mandir} INCDIR=${includedir} \ | ||
| 25 | " | ||
| 26 | # syslinux uses $LD for linking, strip `-Wl,' so it can work | ||
| 27 | export LDFLAGS = "`echo $LDFLAGS | sed 's/-Wl,//g'`" | ||
| 28 | |||
| 29 | do_configure() { | ||
| 30 | # drop win32 targets or build fails | ||
| 31 | sed -e 's,win32/\S*,,g' -i Makefile | ||
| 32 | |||
| 33 | # clean installer executables included in source tarball | ||
| 34 | oe_runmake clean | ||
| 35 | } | ||
| 36 | |||
| 37 | do_compile() { | ||
| 38 | # Rebuild only the installer; keep precompiled bootloaders | ||
| 39 | # as per author's request (doc/distrib.txt) | ||
| 40 | oe_runmake CC="${CC}" installer | ||
| 41 | } | ||
| 42 | |||
| 43 | do_install() { | ||
| 44 | oe_runmake install INSTALLROOT="${D}" | ||
| 45 | |||
| 46 | install -d ${D}${libdir}/syslinux/ | ||
| 47 | install -m 644 ${S}/core/ldlinux.sys ${D}${libdir}/syslinux/ | ||
| 48 | install -m 644 ${S}/core/ldlinux.bss ${D}${libdir}/syslinux/ | ||
| 49 | } | ||
| 50 | |||
| 51 | PACKAGES += "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux ${PN}-misc" | ||
| 52 | |||
| 53 | RDEPENDS_${PN} += "mtools" | ||
| 54 | |||
| 55 | FILES_${PN} = "${bindir}/syslinux" | ||
| 56 | FILES_${PN}-extlinux = "${sbindir}/extlinux" | ||
| 57 | FILES_${PN}-mbr = "${libdir}/${BPN}/mbr.bin" | ||
| 58 | FILES_${PN}-chain = "${libdir}/${BPN}/chain.c32" | ||
| 59 | FILES_${PN}-isolinux = "${libdir}/${BPN}/isolinux.bin" | ||
| 60 | FILES_${PN}-pxelinux = "${libdir}/${BPN}/pxelinux.0" | ||
| 61 | FILES_${PN}-dev += "${datadir}/${BPN}/com32/lib*${SOLIBS} ${datadir}/${BPN}/com32/include ${datadir}/${BPN}/com32/com32.ld" | ||
| 62 | FILES_${PN}-staticdev += "${datadir}/${BPN}/com32/lib*.a ${libdir}/${BPN}/com32/lib*.a" | ||
| 63 | FILES_${PN}-misc = "${libdir}/${BPN}/* ${bindir}/*" | ||
| 64 | |||
| 65 | BBCLASSEXTEND = "native" | ||
