18575b082a4042376fd1575465e69562dea04ddc added bash as a dependency of alsa-utils-alsaconf so that the script interpreter will be available at run time. However, this has the undesirable side effect of making bash be a build dependency for alsa-utils and, for those folks who don't need alsaconf but do want some other part of alsa-utils, this cure is worse than the original disease. Fix this by moving alsaconf to a separate recipe so that the bash dependency only applies when alsaconf is specifically requested. (From OE-Core rev: 7317c8055cf3af8912a66badb3074f0a60f75ec2) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
460 B
BlitzBasic
18 lines
460 B
BlitzBasic
require alsa-utils_${PV}.bb
|
|
|
|
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
|
FILESPATH =. "${@base_set_filespath(["${THISDIR}/alsa-utils"], d)}:"
|
|
|
|
PACKAGES = "${PN}"
|
|
RDEPENDS_${PN} += "bash"
|
|
|
|
DESCRIPTION_${PN} = "a bash script that creates ALSA configuration files"
|
|
FILES_${PN} = "${sbindir}/alsaconf"
|
|
|
|
S = "${WORKDIR}/alsa-utils-${PV}"
|
|
|
|
do_install() {
|
|
install -d ${D}${sbindir}
|
|
install -m 0755 ${S}/alsaconf/alsaconf ${D}${sbindir}/
|
|
}
|