Nove to new layout
This commit is contained in:
@@ -13,20 +13,9 @@ case $arch in
|
||||
x86_64)
|
||||
src_make_conf="./conf/intel/portage/make.conf.amd64"
|
||||
;;
|
||||
arm*)
|
||||
if [ -e "/usr/lib/gcc/armv7a-hardfloat-linux-gnueabi" ]; then
|
||||
src_make_conf="./conf/armv7l/portage/make.conf.hardfp"
|
||||
elif [ -e "/usr/lib/gcc/armv7a-unknown-linux-gnueabi" ]; then
|
||||
src_make_conf="./conf/armv7l/portage/make.conf.softfp"
|
||||
else
|
||||
echo "UNSUPPORTED ARM ABI, CANNOT COPY make.conf !!!"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -z "$src_make_conf" ]; then
|
||||
echo "Can't execute post-merge hook. Unknown arch \"$arch\"." >&2
|
||||
else
|
||||
if [ -n "$src_make_conf" ]; then
|
||||
echo "post-merge hook: copying make.conf (from $src_make_conf):"
|
||||
cp --no-target-directory -v "$src_make_conf" /etc/make.conf
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user