Browse Source

pkgsel: Changed FOOTPRINT to use CROSSBUILD=1 SDECFG_OPT=size instead of an ugly call to pkgfilter, code cleaned

legacy/next/gcc
Alejandro Mery 16 years ago
parent
commit
66119e4a98
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      pkgsel/Base/FOOTPRINT.conf

+ 16
- 16
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

Loading…
Cancel
Save