summaryrefslogtreecommitdiff
path: root/recipes/syslinux/syslinux-native_3.82.bb
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-08-16 20:21:10 -0400
committerMichael Smith <msmith@cbnco.com>2009-08-19 17:51:34 -0400
commit9ea30136395469306c1e690434b2855b17c58a0d (patch)
tree298c5dd37c05b0769bef7623c84b3765a1316df6 /recipes/syslinux/syslinux-native_3.82.bb
parent29f099ea70301ec0eb672d5e9b0d0ed36ee015f9 (diff)
syslinux: upgrade to 3.82 and split into a few packages
3.63 is no longer available. Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'recipes/syslinux/syslinux-native_3.82.bb')
-rw-r--r--recipes/syslinux/syslinux-native_3.82.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/syslinux/syslinux-native_3.82.bb b/recipes/syslinux/syslinux-native_3.82.bb
new file mode 100644
index 0000000000..69ab9c1c9b
--- /dev/null
+++ b/recipes/syslinux/syslinux-native_3.82.bb
@@ -0,0 +1,24 @@
+# syslinux-native OE build file
+# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
+# Copyright (C) 2009, O.S. Systems Software Ltda. All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+require syslinux_${PV}.bb
+inherit native
+
+STAGE_TEMP="${WORKDIR}/stage_temp"
+
+do_stage() {
+ install -d ${STAGE_TEMP}
+ oe_runmake install INSTALLROOT="${STAGE_TEMP}"
+
+ install -d ${STAGING_BINDIR}
+ install -m 755 ${STAGE_TEMP}/${bindir}/syslinux ${STAGING_BINDIR}
+ install -m 755 ${STAGE_TEMP}/${base_sbindir}/extlinux ${STAGING_BINDIR}
+
+ install -d ${STAGING_DATADIR}/syslinux
+ install -m 0644 ${STAGE_TEMP}/${datadir}/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin
+ install -m 0644 ${STAGE_TEMP}/${datadir}/syslinux/mbr.bin ${STAGING_DATADIR}/syslinux/mbr.bin
+ install -m 0644 ${S}/core/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys
+ install -m 0644 ${S}/core/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss
+}