mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
qemu-helper: Fix symlinks
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3738 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Qemu helper scripts from Poky"
|
||||
LICENSE = "GPL"
|
||||
RDEPENDS = "qemu-sdk"
|
||||
PR = "r5"
|
||||
PR = "r6"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/qemu-helper"
|
||||
|
||||
@@ -17,20 +17,18 @@ inherit sdk
|
||||
|
||||
do_compile() {
|
||||
${CC} raw2flash.c -o raw2flash.spitz
|
||||
ln -fs raw2flash.spitz raw2flash.akita
|
||||
ln -fs raw2flash.spitz raw2flash.borzoi
|
||||
ln -fs raw2flash.spitz raw2flash.terrier
|
||||
${CC} raw2flash.c -o flash2raw.spitz -Dflash2raw
|
||||
ln -fs flash2raw.spitz flash2raw.akita
|
||||
ln -fs flash2raw.spitz flash2raw.borzoi
|
||||
ln -fs flash2raw.spitz flash2raw.terrier
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 poky-* ${D}${bindir}/
|
||||
install -m 0755 *.akita ${D}${bindir}/
|
||||
install -m 0755 *.spitz ${D}${bindir}/
|
||||
install -m 0755 *.borzoi ${D}${bindir}/
|
||||
install -m 0755 *.terrier ${D}${bindir}/
|
||||
install raw2flash.spitz ${D}${bindir}/
|
||||
install flash2raw.spitz ${D}${bindir}/
|
||||
ln -fs raw2flash.spitz ${D}${bindir}/raw2flash.akita
|
||||
ln -fs raw2flash.spitz ${D}${bindir}/raw2flash.borzoi
|
||||
ln -fs raw2flash.spitz ${D}${bindir}/raw2flash.terrier
|
||||
ln -fs flash2raw.spitz ${D}${bindir}/flash2raw.akita
|
||||
ln -fs flash2raw.spitz ${D}${bindir}/flash2raw.borzoi
|
||||
ln -fs flash2raw.spitz ${D}${bindir}/flash2raw.terrier
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user