diff options
| author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-02 13:12:18 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:37 +0100 |
| commit | 800f2d7b3be29b12a988ff08a99794146fd440ad (patch) | |
| tree | 47e0d3bfbce30bee85bf97f8d6b5682b56908e4e /meta/recipes-multimedia/alsa | |
| parent | 0ef7994fd0e41f413a8f3b9e85d4f98ea6107681 (diff) | |
| download | poky-800f2d7b3be29b12a988ff08a99794146fd440ad.tar.gz | |
alsa-lib: move contents of alsa-fpu.inc into alsa-lib recipe
Merge historical .inc file into the only recipe which uses it.
(From OE-Core rev: eb1eacefafcbf69e48f906234f5016ae18f0bdce)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
| -rw-r--r-- | meta/recipes-multimedia/alsa/alsa-fpu.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb | 13 |
2 files changed, 7 insertions, 10 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-fpu.inc b/meta/recipes-multimedia/alsa/alsa-fpu.inc deleted file mode 100644 index 355a9dfcd1..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-fpu.inc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | def get_alsa_fpu_setting(bb, d): | ||
| 2 | if d.getVar('TARGET_FPU') in [ 'soft' ]: | ||
| 3 | return "--with-softfloat" | ||
| 4 | return "" | ||
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb index c5bf107e5e..fb6b4fb501 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.5.bb | |||
| @@ -6,20 +6,19 @@ LICENSE = "LGPLv2.1 & GPLv2+" | |||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ |
| 7 | file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" | 7 | file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" |
| 8 | 8 | ||
| 9 | BBCLASSEXTEND = "native nativesdk" | ||
| 10 | |||
| 11 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" | 9 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2" |
| 12 | SRC_URI[md5sum] = "a2b465c3a5265d8a57f3ff39c6c4fc29" | 10 | SRC_URI[md5sum] = "a2b465c3a5265d8a57f3ff39c6c4fc29" |
| 13 | SRC_URI[sha256sum] = "f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6" | 11 | SRC_URI[sha256sum] = "f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6" |
| 14 | 12 | ||
| 15 | inherit autotools pkgconfig | 13 | inherit autotools pkgconfig |
| 16 | 14 | ||
| 17 | require alsa-fpu.inc | 15 | EXTRA_OECONF += " \ |
| 18 | EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " | 16 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 19 | 17 | --disable-python \ | |
| 20 | EXTRA_OECONF += "--disable-python" | 18 | " |
| 21 | 19 | ||
| 22 | PACKAGES =+ "alsa-server libasound alsa-conf alsa-doc" | 20 | PACKAGES =+ "alsa-server libasound alsa-conf alsa-doc" |
| 21 | |||
| 23 | FILES_libasound = "${libdir}/libasound.so.*" | 22 | FILES_libasound = "${libdir}/libasound.so.*" |
| 24 | FILES_alsa-server = "${bindir}/*" | 23 | FILES_alsa-server = "${bindir}/*" |
| 25 | FILES_alsa-conf = "${datadir}/alsa/" | 24 | FILES_alsa-conf = "${datadir}/alsa/" |
| @@ -38,3 +37,5 @@ RCONFLICTS_${PN}-dev = "alsa-dev" | |||
| 38 | RPROVIDES_alsa-conf = "alsa-conf-base" | 37 | RPROVIDES_alsa-conf = "alsa-conf-base" |
| 39 | RREPLACES_alsa-conf = "alsa-conf-base" | 38 | RREPLACES_alsa-conf = "alsa-conf-base" |
| 40 | RCONFLICTS_alsa-conf = "alsa-conf-base" | 39 | RCONFLICTS_alsa-conf = "alsa-conf-base" |
| 40 | |||
| 41 | BBCLASSEXTEND = "native nativesdk" | ||
