|
@ -1,4 +1,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
# common prefix |
|
|
|
|
|
|
|
|
if [ $prefix_auto = 1 ] ; then |
|
|
if [ $prefix_auto = 1 ] ; then |
|
|
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then |
|
|
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then |
|
|
prefix="$ROCKCFG_CROSS_PREFIX" |
|
|
prefix="$ROCKCFG_CROSS_PREFIX" |
|
@ -12,6 +14,24 @@ set_confopt |
|
|
archdir="${archdir/-cross/}" |
|
|
archdir="${archdir/-cross/}" |
|
|
realpkg="${pkg/-cross/}" |
|
|
realpkg="${pkg/-cross/}" |
|
|
|
|
|
|
|
|
|
|
|
# real package's download files |
|
|
|
|
|
set -x |
|
|
|
|
|
tag=D |
|
|
|
|
|
tagdata="`egrep "^\[($tag)\]" $base/package/$repository/$realpkg/$realpkg.desc | \ |
|
|
|
|
|
cut -f2- -d']' | sed 's,^ ,,'`" |
|
|
|
|
|
tag="`echo $tag | cut -f1 -d'|' | tr - _`" |
|
|
|
|
|
eval "desc_$tag=\"\$tagdata\"" |
|
|
|
|
|
|
|
|
|
|
|
# detect patch files ... |
|
|
|
|
|
|
|
|
|
|
|
patchfiles="$base/package/$repository/${pkg/-cross/}/*.patch" |
|
|
|
|
|
|
|
|
|
|
|
for x in $patchfiles ; do |
|
|
|
|
|
[ -e $x ] || var_remove patchfiles $x |
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
set +x |
|
|
|
|
|
|
|
|
#arch=sparc64 |
|
|
#arch=sparc64 |
|
|
arch_machine="sparc64" |
|
|
arch_machine="sparc64" |
|
|
arch_target="sparc64-unknown-linux-gnu" |
|
|
arch_target="sparc64-unknown-linux-gnu" |
|
|