summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/syslinux
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-02 19:09:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 09:51:54 +0100
commita9f35059b4b47cb014cfad0b6930fe59f44430e3 (patch)
tree19d1ddbfca2362f9a7440eef3256cd68268c5017 /meta/recipes-devtools/syslinux
parentbf74c17f7c73b22492f6fa069a5bbbdc28e6ddf5 (diff)
downloadopenembedded-core-a9f35059b4b47cb014cfad0b6930fe59f44430e3.tar.gz
openembedded-core-a9f35059b4b47cb014cfad0b6930fe59f44430e3.tar.bz2
openembedded-core-a9f35059b4b47cb014cfad0b6930fe59f44430e3.tar.xz
openembedded-core-a9f35059b4b47cb014cfad0b6930fe59f44430e3.zip
syslinux: improve packaging
Usually only parts of syslinux are used by products and thus syslinux can be greatly reduced in size. This changes does it as: - syslinux: syslinux binary - syslinux-extlinux: extlinux binary - syslinux-mbr: mbr.bin - syslinux-chain: chain.c32 - syslinux-pxelinux: pxelinux.0 - syslinux-isolinux: isolinux.bin Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta/recipes-devtools/syslinux')
-rw-r--r--meta/recipes-devtools/syslinux/syslinux_4.03.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/syslinux/syslinux_4.03.bb b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
index 05bcb21b3..dc0785e56 100644
--- a/meta/recipes-devtools/syslinux/syslinux_4.03.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
# If you really want to run syslinux, you need mtools. We just want the
# ldlinux.* stuff for now, so skip mtools-native
DEPENDS = "nasm-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 \
file://cross-build.patch"
@@ -46,4 +46,14 @@ do_install() {
install -m 644 ${S}/core/ldlinux.bss ${D}${libdir}/syslinux/
}
+PACKAGES =+ "${PN}-extlinux ${PN}-mbr ${PN}-chain ${PN}-pxelinux ${PN}-isolinux"
+
+FILES_${PN} = "${bindir}/syslinux"
+FILES_${PN}-extlinux = "${sbindir}/extlinux"
+FILES_${PN}-mbr = "${libdir}/${PN}/mbr.bin"
+FILES_${PN}-chain = "${libdir}/${PN}/chain.c32"
+FILES_${PN}-isolinux = "${libdir}/${PN}/isolinux.bin"
+FILES_${PN}-pxelinux = "${libdir}/${PN}/pxelinux.0"
+FILES_${PN}-dev += "${datadir}/${PN}/com32"
+
BBCLASSEXTEND = "native"