OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
1.8 KiB

#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/generic/config.in
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# 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 ---
#Description: Generic System
SDECFGSET_DIETLIBC='1'
SDECFGSET_DIETLIBC_pdksh='1'
SDECFGSET_DIETLIBC_module_init_tools='1'
SDECFGSET_DIETLIBC_modutils='1'
SDECFGSET_DIETLIBC_udev='1'
SDECFGSET_DIETLIBC_embutils='1'
SDECFGSET_DIETLIBC_fget='1'
SDECFGSET_DIETLIBC_ipconfig='1'
SDECFGSET_DIETLIBC_hotplug__=1
SDECFGSET_DIETLIBC_minised='1'
SDECFGSET_DIETLIBC_disktype='1'
choice SDECFG_PKGSEL_TPL none none 'No package preselection template' \
$( cd target/$SDECFG_TARGET/pkgsel;
grep -H "^# *Description *: " *.choice | tr ' ' '_' |
sed -e 's,^[0-9][0-9]*-,,' \
-e 's,\.choice:#_*Description_*:_, ,' )
# Apply template
if [ "$SDECFG_PKGSEL_TPL" != none ]; then
if [ ! -f $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk ]; then
cat <<-EOT > $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
# created from '$SDECFG_PKGSEL_TPL' template
#
EOT
lib/sde-config/pkgsel2awk.sh \
$( ls -1 target/$target/pkgsel/{[0-9][0-9]-,}$SDECFG_PKGSEL_TPL.choice 2> /dev/null ) \
>> $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
fi
pkgfilter awk -f $cfgtmpdir/pkgsel.$SDECFG_PKGSEL_TPL.awk
if [ -f target/$SDECFG_TARGET/pkgsel/$SDECFG_PKGSEL_TPL.conf ]; then
. target/$SDECFG_TARGET/pkgsel/$SDECFG_PKGSEL_TPL.conf
fi
fi