Commit 70e9f504 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Paul E. McKenney

rcutorture: Add cross-compile capability to initrd.sh

This adds the CROSS_COMPILE environment to the initrd.sh script's
gcc command to enable cross compilation.
Reported-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 229ab0cb
...@@ -113,7 +113,7 @@ int main(int argc, int argv[]) ...@@ -113,7 +113,7 @@ int main(int argc, int argv[])
return 0; return 0;
} }
___EOF___ ___EOF___
cc -static -Os -o init init.c ${CROSS_COMPILE}gcc -static -Os -o init init.c
strip init strip init
rm init.c rm init.c
echo "Done creating a statically linked C-language initrd" echo "Done creating a statically linked C-language initrd"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment