Browse Source

kmod: fixed cross-compiling by explicitely using --with-sysroot when not building natively

user/chris/wip/linux37
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
30ac9c4a84
  1. 7
      base/kmod/kmod.conf

7
base/kmod/kmod.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../kmod/kmod.conf
# Copyright (C) 2012 The OpenSDE Project
# Copyright (C) 2012 - 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -18,6 +18,11 @@ set_confopt
# always build a static library
var_append extraconfopt ' ' "--enable-static"
# explicitely use --with-sysroot when not building native
if ! atstage native; then
var_append extraconfopt ' ' "--with-sysroot=$root"
fi
# enable handling of compressed modules if possible
for x in zlib xz; do
if pkginstalled -f $x; then

Loading…
Cancel
Save