From a2cb465af39e80901da2137b8677316acc169a61 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Wed, 16 Sep 2015 08:23:20 -0400 Subject: [PATCH] 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. --- scripts/cross-aarch64 | 3 +++ scripts/cross-arm | 3 +++ scripts/fast-x86_64 | 3 +++ 3 files changed, 9 insertions(+) create mode 100755 scripts/cross-aarch64 create mode 100755 scripts/cross-arm create mode 100755 scripts/fast-x86_64 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