|
@ -21,18 +21,16 @@ |
|
|
# |
|
|
# |
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
# common prefix |
|
|
|
|
|
|
|
|
|
|
|
if [ $prefix_auto = 1 ] ; then |
|
|
|
|
|
|
|
|
# common prefix if not used as stage0 cross-cross-compiler ... |
|
|
|
|
|
if [ "$stagelevel" -gt 0 -a $prefix_auto = 1 ] ; then |
|
|
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then |
|
|
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then |
|
|
prefix="$ROCKCFG_CROSS_PREFIX" |
|
|
prefix="$ROCKCFG_CROSS_PREFIX" |
|
|
else |
|
|
else |
|
|
prefix="opt/cross-tools" |
|
|
prefix="opt/cross-tools" |
|
|
fi |
|
|
fi |
|
|
|
|
|
set_confopt |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
set_confopt |
|
|
|
|
|
|
|
|
|
|
|
archdir="${archdir/-cross/}" |
|
|
archdir="${archdir/-cross/}" |
|
|
realpkg="${pkg/-cross/}" |
|
|
realpkg="${pkg/-cross/}" |
|
|
|
|
|
|
|
@ -52,3 +50,8 @@ done |
|
|
arch_target="$ROCKCFG_PKG_CROSSCC_ARCH_TARGET" |
|
|
arch_target="$ROCKCFG_PKG_CROSSCC_ARCH_TARGET" |
|
|
arch_machine="${arch_target/-*/}" |
|
|
arch_machine="${arch_target/-*/}" |
|
|
|
|
|
|
|
|
|
|
|
# # the gcc needs the target binutils during the compilation |
|
|
|
|
|
# # but can not find it if they are installed in a extraordinary |
|
|
|
|
|
# # location, like the one used for the stage0 build ... |
|
|
|
|
|
# var_append PATH ':' "$root/$prefix/bin" |
|
|
|
|
|
|