# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: target/mnemosyne/pkg_conf/busybox.conf
|
|
# Copyright (C) 2008 The OpenSDE Project
|
|
# Copyright (C) 2002 - 2006 Alejandro Mery
|
|
#
|
|
# More information can be found in the files COPYING and README.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
# GNU General Public License can be found in the file COPYING.
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
BB_MNEMOSYNE_DIR="$base/target/$SDECFG_TRG_MNEMOSYNE/busybox"
|
|
|
|
bb_mnemosyne_overlay=
|
|
bb_mnemosyne_overlay_apply()
|
|
{
|
|
local x=
|
|
for x in $bb_mnemosyne_overlay; do
|
|
overlay_apply "$x"
|
|
done
|
|
}
|
|
hook_add postdoc 5 'bb_mnemosyne_overlay_apply'
|
|
|
|
bb_mnemosyne_append()
|
|
{
|
|
local x=
|
|
local y=
|
|
for x; do
|
|
# busybox config settings
|
|
y="$BB_MNEMOSYNE_DIR/$x.config"
|
|
[ ! -s "$y" ] || var_append conffiles ' ' "$y"
|
|
|
|
# overlay directories
|
|
y="$BB_MNEMOSYNE_DIR/$x"
|
|
[ ! -d "$y/" ] || var_append bb_mnemosyne_overlay ' ' "$y"
|
|
done
|
|
}
|
|
|
|
# mnemosyne generics
|
|
bb_mnemosyne_append mnemosyne
|
|
|
|
case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in
|
|
embedded) bb_mnemosyne_append embedded
|
|
[ "$SDECFG_TRG_MNEMOSYNE_EMBEDDED_INIT" = 1 ] && bb_mnemosyne_append embedded-init
|
|
;;
|
|
esac
|
|
|
|
unset bb_mnemosyne_append
|
|
unset BB_MNEMOSYNE_DIR
|