diff options
Diffstat (limited to 'meta/packages/qemu/qemu-helper-sdk_1.0.bb')
-rw-r--r-- | meta/packages/qemu/qemu-helper-sdk_1.0.bb | 26 |
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" | |||
3 | RDEPENDS = "qemu-sdk" | 3 | RDEPENDS = "qemu-sdk" |
4 | PR = "r5" | 4 | PR = "r5" |
5 | 5 | ||
6 | FILESPATH = "${FILE_DIRNAME}/qemu-helper" | ||
7 | |||
6 | SRC_URI = "file://${OEROOT}/scripts/poky-qemu \ | 8 | SRC_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 | ||
11 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
12 | 15 | ||
13 | PACKAGE_ARCH = "all" | ||
14 | |||
15 | inherit sdk | 16 | inherit sdk |
16 | 17 | ||
18 | do_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 | |||
17 | do_install() { | 29 | do_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 | } | ||