Add some quick local {cross}build scripts

Simple wrappers around using rpmbuild to turn off various things.  In th arm
cases, we can't cross build perf or tools anyway.
This commit is contained in:
Josh Boyer 2015-09-16 08:23:20 -04:00
parent 59a51dd300
commit a2cb465af3
3 changed files with 9 additions and 0 deletions

3
scripts/cross-aarch64 Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
rpmbuild --target aarch64 --with cross --without debuginfo --without perf --without tools --define "__strip /usr/bin/aarch64-linux-gnu-strip" --rebuild $1

3
scripts/cross-arm Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
rpmbuild --target armv7hl --with cross --without debuginfo --without perf --without tools --define "__strip /usr/bin/arm-linux-gnu-strip" --rebuild $1

3
scripts/fast-x86_64 Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
rpmbuild --target x86_64 --without debuginfo --without perf --without tools --rebuild $1