Browse Source

mine: changed to use a custom config.cache for cross-compiling

Note:

Before the needed config.cache variables have been set through the settings
in 'architecture/share/config.cache'.
user/chris/wip/musl
Christian Wiese 12 years ago
parent
commit
21b94084c8
  1. 7
      archiver/mine/mine.conf

7
archiver/mine/mine.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mine/mine.conf
# Copyright (C) 2012 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -13,6 +14,10 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
mine_create_config_cache() {
echo "compat_cv_func_makedev_three_args=no" >> config.cache
}
makeopt="$makeopt CONFOPT=\"--build=\$arch_build --host=\$arch_target --cache-file=../config.cache\""
makeinstopt="$makeinstopt sysprefix=$root"
@ -22,7 +27,7 @@ if atstage native && [ -f $root/var/adm/packages/dialog ]; then
else
makeopt="$makeopt USE_GAS=0"
makeinstopt="$makeinstopt USE_GAS=0"
hook_add premake 5 "create_config_cache > config.cache"
hook_add premake 5 'mine_create_config_cache'
fi
var_append makeinstopt " " "prefix=$root/$prefix sysprefix=$root/"

Loading…
Cancel
Save