summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2015-09-16 08:23:20 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2015-09-16 08:23:20 -0400
commita2cb465af39e80901da2137b8677316acc169a61 (patch)
tree1a00071a1529bf9302a218174e9acd34e51d6cca /scripts
parent59a51dd300598d2ef08099a219bd73317a1b9124 (diff)
downloadkernel-a2cb465af39e80901da2137b8677316acc169a61.tar.gz
kernel-a2cb465af39e80901da2137b8677316acc169a61.tar.xz
kernel-a2cb465af39e80901da2137b8677316acc169a61.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cross-aarch643
-rwxr-xr-xscripts/cross-arm3
-rwxr-xr-xscripts/fast-x86_643
3 files changed, 9 insertions, 0 deletions
diff --git a/scripts/cross-aarch64 b/scripts/cross-aarch64
new file mode 100755
index 000000000..dc0645e49
--- /dev/null
+++ b/scripts/cross-aarch64
@@ -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
diff --git a/scripts/cross-arm b/scripts/cross-arm
new file mode 100755
index 000000000..0aae07741
--- /dev/null
+++ b/scripts/cross-arm
@@ -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
diff --git a/scripts/fast-x86_64 b/scripts/fast-x86_64
new file mode 100755
index 000000000..649ef6525
--- /dev/null
+++ b/scripts/fast-x86_64
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rpmbuild --target x86_64 --without debuginfo --without perf --without tools --rebuild $1