From 0d7207ca39d1671682f9467a804766b151048573 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Sep 2009 00:05:34 +0100 Subject: sdk.bbclass: Rename to nativesdk.bbclass Signed-off-by: Richard Purdie --- meta/packages/qemu/qemu-helper-nativesdk_1.0.bb | 35 +++++++++++++++++++++++++ meta/packages/qemu/qemu-helper-sdk_1.0.bb | 35 ------------------------- meta/packages/qemu/qemu-nativesdk.inc | 3 +++ meta/packages/qemu/qemu-nativesdk_0.9.1.bb | 8 ++++++ meta/packages/qemu/qemu-nativesdk_git.bb | 6 +++++ meta/packages/qemu/qemu-sdk.inc | 3 --- meta/packages/qemu/qemu-sdk_0.9.1.bb | 8 ------ meta/packages/qemu/qemu-sdk_git.bb | 6 ----- 8 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 meta/packages/qemu/qemu-helper-nativesdk_1.0.bb delete mode 100644 meta/packages/qemu/qemu-helper-sdk_1.0.bb create mode 100644 meta/packages/qemu/qemu-nativesdk.inc create mode 100644 meta/packages/qemu/qemu-nativesdk_0.9.1.bb create mode 100644 meta/packages/qemu/qemu-nativesdk_git.bb delete mode 100644 meta/packages/qemu/qemu-sdk.inc delete mode 100644 meta/packages/qemu/qemu-sdk_0.9.1.bb delete mode 100644 meta/packages/qemu/qemu-sdk_git.bb (limited to 'meta/packages/qemu') diff --git a/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb b/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb new file mode 100644 index 0000000000..fd658f51b8 --- /dev/null +++ b/meta/packages/qemu/qemu-helper-nativesdk_1.0.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Qemu helper scripts from Poky" +LICENSE = "GPL" +RDEPENDS = "qemu-nativesdk" +PR = "r7" + +FILESPATH = "${FILE_DIRNAME}/qemu-helper" + +SRC_URI = "file://${OEROOT}/scripts/poky-qemu \ + file://${OEROOT}/scripts/poky-qemu-internal \ + file://${OEROOT}/scripts/poky-addptable2image \ + file://${OEROOT}/scripts/poky-qemu-ifup \ + file://${OEROOT}/scripts/poky-qemu-ifdown \ + file://raw2flash.c" + +S = "${WORKDIR}" + +inherit nativesdk + +do_compile() { + ${CC} raw2flash.c -o raw2flash.spitz + ${CC} raw2flash.c -o flash2raw.spitz -Dflash2raw +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 poky-* ${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 +} diff --git a/meta/packages/qemu/qemu-helper-sdk_1.0.bb b/meta/packages/qemu/qemu-helper-sdk_1.0.bb deleted file mode 100644 index 70c7d2347a..0000000000 --- a/meta/packages/qemu/qemu-helper-sdk_1.0.bb +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION = "Qemu helper scripts from Poky" -LICENSE = "GPL" -RDEPENDS = "qemu-sdk" -PR = "r7" - -FILESPATH = "${FILE_DIRNAME}/qemu-helper" - -SRC_URI = "file://${OEROOT}/scripts/poky-qemu \ - file://${OEROOT}/scripts/poky-qemu-internal \ - file://${OEROOT}/scripts/poky-addptable2image \ - file://${OEROOT}/scripts/poky-qemu-ifup \ - file://${OEROOT}/scripts/poky-qemu-ifdown \ - file://raw2flash.c" - -S = "${WORKDIR}" - -inherit sdk - -do_compile() { - ${CC} raw2flash.c -o raw2flash.spitz - ${CC} raw2flash.c -o flash2raw.spitz -Dflash2raw -} - -do_install() { - install -d ${D}${bindir} - install -m 0755 poky-* ${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 -} diff --git a/meta/packages/qemu/qemu-nativesdk.inc b/meta/packages/qemu/qemu-nativesdk.inc new file mode 100644 index 0000000000..321bfa7ae2 --- /dev/null +++ b/meta/packages/qemu/qemu-nativesdk.inc @@ -0,0 +1,3 @@ +inherit nativesdk +DEPENDS = "zlib-nativesdk libsdl-nativesdk" +RDEPENDS = "libsdl-nativesdk" diff --git a/meta/packages/qemu/qemu-nativesdk_0.9.1.bb b/meta/packages/qemu/qemu-nativesdk_0.9.1.bb new file mode 100644 index 0000000000..fc647e8df0 --- /dev/null +++ b/meta/packages/qemu/qemu-nativesdk_0.9.1.bb @@ -0,0 +1,8 @@ +require qemu_${PV}.bb +require qemu-nativesdk.inc + +EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu" + +DEPENDS += "gcc3-native" + +require qemu-gcc3-check.inc diff --git a/meta/packages/qemu/qemu-nativesdk_git.bb b/meta/packages/qemu/qemu-nativesdk_git.bb new file mode 100644 index 0000000000..2f03dcc7b5 --- /dev/null +++ b/meta/packages/qemu/qemu-nativesdk_git.bb @@ -0,0 +1,6 @@ +require qemu_git.bb +require qemu-nativesdk.inc + +PR = "r2" + +EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls" diff --git a/meta/packages/qemu/qemu-sdk.inc b/meta/packages/qemu/qemu-sdk.inc deleted file mode 100644 index 5ecab10faf..0000000000 --- a/meta/packages/qemu/qemu-sdk.inc +++ /dev/null @@ -1,3 +0,0 @@ -inherit sdk -DEPENDS = "zlib-sdk libsdl-sdk" -RDEPENDS = "libsdl-sdk" diff --git a/meta/packages/qemu/qemu-sdk_0.9.1.bb b/meta/packages/qemu/qemu-sdk_0.9.1.bb deleted file mode 100644 index 7db8709b72..0000000000 --- a/meta/packages/qemu/qemu-sdk_0.9.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -require qemu_${PV}.bb -require qemu-sdk.inc - -EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu" - -DEPENDS += "gcc3-native" - -require qemu-gcc3-check.inc diff --git a/meta/packages/qemu/qemu-sdk_git.bb b/meta/packages/qemu/qemu-sdk_git.bb deleted file mode 100644 index 8a04d90dab..0000000000 --- a/meta/packages/qemu/qemu-sdk_git.bb +++ /dev/null @@ -1,6 +0,0 @@ -require qemu_git.bb -require qemu-sdk.inc - -PR = "r2" - -EXTRA_OECONF +="--target-list=arm-linux-user,arm-softmmu,i386-softmmu --disable-vnc-tls" -- cgit v1.2.3