diff --git a/pkgsel/Base/FOOTPRINT.conf b/pkgsel/Base/FOOTPRINT.conf index b35dc3e..d669b1c 100644 --- a/pkgsel/Base/FOOTPRINT.conf +++ b/pkgsel/Base/FOOTPRINT.conf @@ -1,33 +1,33 @@ #!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# +# # Filename: target/mnemosyne/pkgsel/Base/FOOTPRINT.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 --- -case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in +x= +case "$2" in embedded|light) - SDECFGSET_DISABLE_NLS=1 - const SDECFG_DISABLE_NLS 1 - # keep stage 0 and flat everything else to stage 1 - pkgfilter sed -e 's,^\(.\) \(.\)[^ ]*,\1 \21--------,' + x="DISABLE_NLS=1 CROSSBUILD=1 SDECFG_OPT=size" + ;; + *) + x="DISABLE_NLS=0 CROSSBUILD=0" ;; esac -case "$SDECFG_TRG_MNEMOSYNE_FOOTPRINT" in - embedded) - for y in STATIC PKG_TERMCAP_USEIT PKG_TERMCAP_USETERMUTILS; do - eval SDECFGSET_$y=1 - const SDECFG_$y 1 - done - ;; -esac +if [ "$2" == "embedded" ]; then + x="$x STATIC=1 PKG_TERMCAP_USEIT=1 PKG_TERMCAP_USETERMUTILS=1" +fi +for y in $x; do + eval SDECFGSET_$y +done