BUSYBOX: cleanup recipe
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com> Change-Id: I75b5e2ea785020b79c3374b61a1bb33ea2567510
This commit is contained in:
parent
239688674c
commit
38160843bf
|
|
@ -1,25 +1,16 @@
|
||||||
FILESEXTRAPATHS:prepend:stm32mpcommon := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS:prepend:stm32mpcommon := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
SRC_URI:append:stm32mpcommon = " \
|
SRC_URI:append:stm32mpcommon = " \
|
||||||
file://${BUSYBOX_CONFIG_FRAGMENT} \
|
file://busybox-stm32mp.cfg \
|
||||||
file://0001-miscutils-watchdog-Add-gettimeleft.patch \
|
file://0001-miscutils-watchdog-Add-gettimeleft.patch \
|
||||||
file://ifplugd.conf \
|
file://ifplugd.conf \
|
||||||
file://ifplugd.action \
|
file://ifplugd.action \
|
||||||
file://ifplugd.sh \
|
file://ifplugd.sh \
|
||||||
"
|
"
|
||||||
|
|
||||||
BUSYBOX_CONFIG_FRAGMENT:stm32mpcommon = "busybox-stm32mp.cfg"
|
|
||||||
|
|
||||||
#inherit update-rc.d
|
#inherit update-rc.d
|
||||||
DEPENDS:append:stm32mpcommon = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'update-rc.d-native', d)}"
|
DEPENDS:append:stm32mpcommon = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'update-rc.d-native', d)}"
|
||||||
|
|
||||||
do_configure:append:stm32mpcommon () {
|
|
||||||
# merge specific configuration to newly generated .config
|
|
||||||
merge_config.sh -m -r -O ${B} ${B}/.config ${WORKDIR}/${BUSYBOX_CONFIG_FRAGMENT} 1>&2
|
|
||||||
# make sure to generate proper config file for busybox
|
|
||||||
cml1_do_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install:append:stm32mpcommon () {
|
do_install:append:stm32mpcommon () {
|
||||||
if [ "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '1', '0', d)}" = "0" ]; then
|
if [ "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '1', '0', d)}" = "0" ]; then
|
||||||
if grep -q "CONFIG_IFPLUGD=y" ${B}/.config; then
|
if grep -q "CONFIG_IFPLUGD=y" ${B}/.config; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue