summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-24 18:47:59 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-25 12:22:04 +0200
commit2fa82233ce6874de037eeeeb286ed1f8f86d8027 (patch)
tree65fb6bb5102b5ebe92125a7aa64862d33b4b941c /bin/reproducible_lede.sh
parent74139ffb7332fc2bafd98bef78105e03c15d9934 (diff)
downloadjenkins.debian.net-2fa82233ce6874de037eeeeb286ed1f8f86d8027.tar.xz
reproducible LEDE: WIP: add multiple architectures
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index d85bb062..5a58a3fa 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -8,6 +8,8 @@
OPENWRT_GIT_REPO=https://git.lede-project.org/lede/lynxis/staging.git
OPENWRT_GIT_BRANCH=master
DEBUG=false
+CONFIG=
+
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
@@ -44,6 +46,7 @@ case $1 in
;;
master)
# master code following
+ CONFIG=$2
;;
*)
echo "Unsupported mode $1. Arguments are $@"
@@ -66,7 +69,8 @@ cd $TMPBUILDDIR
create_results_dirs lede
-build_two_times lede ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx=y\nCONFIG_TARGET_ar71xx_generic=y\n"
+# FIXME: remove first argument (TARGET). The TARGET is only used in log messages
+build_two_times lede "$CONFIG" "$CONFIG"
# for now we only build one architecture until it's at most reproducible
#build_two_times x86_64 "CONFIG_TARGET_x86=y\nCONFIG_TARGET_x86_64=y\n"