fi
if [ -z "$stage" ]; then
- echo "stage level not specified. something went wrong ... hey,"
- echo "this is a development version ;)"
+ echo "no stage level specified, abort."
exit 1
fi
prefix=""; docdir=""
if [ "$stage" -lt "2" ] ; then
# use the symlink as prefix
- prefix="/${s1_prefix}"
+ prefix="/${tc_name}"
docdir="$prefix/share/doc/$package"
install_conf="PREFIX=$prefix"
else
# flist find variables/command
flist_path="bin/ boot/ etc/ lib/ opt/ sbin/ usr/ var/"
- [ "$stage" -lt "2" ] && flist_path="${flist_path} ${s1_prefix}/"
+ [ "$stage" -lt "2" ] && flist_path="${flist_path} ${tc_name}/"
flist_cmd="find \$flist_path \( -cnewer $root/.time_$package -o \
-newer $root/.time_$package \) \( -not -type d -o \
-type d -empty \) -print"
echo
echo "Debug: (buildenvironment)"
printenv
+ echo "gcc to use: `which gcc`, `which cc`"
echo
fi
build_main
grep -v '^ldd'`; do
for rpkg in `grep $rdep -r \
$root/var/adm/flists | \
- grep -v $s1_prefix | \
+ grep -v $tc_name | \
awk -F: '{ print $2 }'`; do
add=1
for cmp in $alldeps; do
grep -v '^ldd'`; do
for rpkg in `grep $rdep -r \
$root/var/adm/flists | \
- grep -v $s1_prefix | \
+ grep -v $tc_name | \
awk -F: '{ print $2 }'`; do
add=1
for cmp in $alldeps; do