diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 17:43:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-02 05:52:06 -0700 |
commit | ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0 (patch) | |
tree | 9965e27a93c73af1ccf9cdb24c588faabc90370a /meta/recipes-multimedia | |
parent | 58a8a38aa294edb74dde70d70a7e5faf49444b78 (diff) | |
download | poky-ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0.tar.gz |
nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is
hard and has lead to many recipes having to do PKGSUFFIX games. Its
looking extremely hard to scale nativesdk much further without hacking
many recipes.
By comparison, using a prefix like multilib does works much better and
doesn't involve "hacking" as many recipes. This change converts nativesdk
to use a prefix using the existing multilib infrastructure.
(From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb index 08da5cd471..7914bb9800 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.25.bb | |||
@@ -31,22 +31,19 @@ EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python" | |||
31 | 31 | ||
32 | EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " | 32 | EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " |
33 | 33 | ||
34 | PKGSUFFIX = "" | 34 | PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" |
35 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
36 | |||
37 | PACKAGES =+ "alsa-server${PKGSUFFIX} libasound${PKGSUFFIX} alsa-conf-base${PKGSUFFIX} alsa-conf${PKGSUFFIX} alsa-doc${PKGSUFFIX} alsa-dev${PKGSUFFIX}" | ||
38 | FILES_${PN} += "${libdir}/${BPN}/smixer/*.so" | 35 | FILES_${PN} += "${libdir}/${BPN}/smixer/*.so" |
39 | FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug" | 36 | FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug" |
40 | FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la" | 37 | FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la" |
41 | FILES_libasound${PKGSUFFIX} = "${libdir}/libasound.so.*" | 38 | FILES_libasound = "${libdir}/libasound.so.*" |
42 | FILES_alsa-server${PKGSUFFIX} = "${bindir}/*" | 39 | FILES_alsa-server = "${bindir}/*" |
43 | FILES_alsa-conf${PKGSUFFIX} = "${datadir}/alsa/" | 40 | FILES_alsa-conf = "${datadir}/alsa/" |
44 | FILES_alsa-dev${PKGSUFFIX} += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" | 41 | FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" |
45 | FILES_alsa-conf-base${PKGSUFFIX} = "\ | 42 | FILES_alsa-conf-base = "\ |
46 | ${datadir}/alsa/alsa.conf \ | 43 | ${datadir}/alsa/alsa.conf \ |
47 | ${datadir}/alsa/cards/aliases.conf \ | 44 | ${datadir}/alsa/cards/aliases.conf \ |
48 | ${datadir}/alsa/pcm/default.conf \ | 45 | ${datadir}/alsa/pcm/default.conf \ |
49 | ${datadir}/alsa/pcm/dmix.conf \ | 46 | ${datadir}/alsa/pcm/dmix.conf \ |
50 | ${datadir}/alsa/pcm/dsnoop.conf" | 47 | ${datadir}/alsa/pcm/dsnoop.conf" |
51 | 48 | ||
52 | RDEPENDS_libasound${PKGSUFFIX} = "alsa-conf-base${PKGSUFFIX}" | 49 | RDEPENDS_libasound = "alsa-conf-base" |