mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 09:16:36 +01:00
To avoid syntax errors when inheriting this class without setting BINCONFIG, add a default value and a comment. (From OE-Core rev: a7e808e9a0ff45f14235b2de3c53d89d98fde714) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
285 B
Plaintext
16 lines
285 B
Plaintext
#
|
|
# Class to disable binconfig files instead of installing them
|
|
#
|
|
|
|
# The list of scripts which should be disabled.
|
|
BINCONFIG ?= ""
|
|
|
|
FILES_${PN}-dev += "${bindir}/*-config"
|
|
|
|
do_install_append () {
|
|
for x in ${BINCONFIG}; do
|
|
echo "#!/bin/sh" > ${D}$x
|
|
echo "exit 1" >> ${D}$x
|
|
done
|
|
}
|