summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/qemu-helper-sdk_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/qemu/qemu-helper-sdk_1.0.bb')
-rw-r--r--meta/packages/qemu/qemu-helper-sdk_1.0.bb26
1 files changed, 21 insertions, 5 deletions
diff --git a/meta/packages/qemu/qemu-helper-sdk_1.0.bb b/meta/packages/qemu/qemu-helper-sdk_1.0.bb
index ce66ff3150..4e3a15b762 100644
--- a/meta/packages/qemu/qemu-helper-sdk_1.0.bb
+++ b/meta/packages/qemu/qemu-helper-sdk_1.0.bb
@@ -3,18 +3,34 @@ LICENSE = "GPL"
3RDEPENDS = "qemu-sdk" 3RDEPENDS = "qemu-sdk"
4PR = "r5" 4PR = "r5"
5 5
6FILESPATH = "${FILE_DIRNAME}/qemu-helper"
7
6SRC_URI = "file://${OEROOT}/scripts/poky-qemu \ 8SRC_URI = "file://${OEROOT}/scripts/poky-qemu \
7 file://${OEROOT}/scripts/poky-qemu-internal \ 9 file://${OEROOT}/scripts/poky-qemu-internal \
8 file://${OEROOT}/scripts/poky-addptable2image \ 10 file://${OEROOT}/scripts/poky-addptable2image \
9 file://${OEROOT}/scripts/poky-qemu-ifup" 11 file://${OEROOT}/scripts/poky-qemu-ifup \
12 file://raw2flash.c"
10 13
11S = "${WORKDIR}" 14S = "${WORKDIR}"
12 15
13PACKAGE_ARCH = "all"
14
15inherit sdk 16inherit sdk
16 17
18do_compile() {
19 ${CC} raw2flash.c -o raw2flash.spitz
20 ln -fs raw2flash.spitz raw2flash.akita
21 ln -fs raw2flash.spitz raw2flash.borzoi
22 ln -fs raw2flash.spitz raw2flash.terrier
23 ${CC} raw2flash.c -o flash2raw.spitz -Dflash2raw
24 ln -fs flash2raw.spitz flash2raw.akita
25 ln -fs flash2raw.spitz flash2raw.borzoi
26 ln -fs flash2raw.spitz flash2raw.terrier
27}
28
17do_install() { 29do_install() {
18 install -d ${D}${bindir} 30 install -d ${D}${bindir}
19 install -m 0755 poky-* ${D}${bindir}/ 31 install -m 0755 poky-* ${D}${bindir}/
20} \ No newline at end of file 32 install -m 0755 *.akita ${D}${bindir}/
33 install -m 0755 *.spitz ${D}${bindir}/
34 install -m 0755 *.borzoi ${D}${bindir}/
35 install -m 0755 *.terrier ${D}${bindir}/
36}