[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible openwrt: targets other than default need more detailed config
Holger Levsen
holger at moszumanska.debian.org
Mon Jun 15 12:14:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 075a03f4cb0b0f2d02597b58cb3ed500b730881e
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Mon Jun 15 13:47:19 2015 +0200
reproducible openwrt: targets other than default need more detailed config
---
bin/reproducible_openwrt.sh | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 5e6a4e3..de0627f 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -87,9 +87,9 @@ save_openwrt_results(){
}
openwrt_config() {
- TARGET=$1
+ CONFIG=$1
- echo "CONFIG_TARGET_$TARGET=y" > .config
+ printf "$CONFIG" > .config
make defconfig
}
@@ -133,7 +133,8 @@ openwrt_cleanup() {
build_two_times() {
TARGET=$1
- openwrt_config $TARGET
+ CONFIG=$2
+ openwrt_config $CONFIG
openwrt_build_toolchain
# FIRST BUILD
@@ -199,9 +200,9 @@ echo "==========================================================================
./scripts/feeds update -a
./scripts/feeds install -a
-build_two_times ar71xx_generic_ARCHERC7
-build_two_times x86_64
-build_two_times ramips_rt288x_RTN15
+build_two_times ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx_generic=y\nCONFIG_TARGET_ar71xx_generic_ARCHERC7=y\n"
+build_two_times x86_64 "CONFIG_TARGET_x86=y\nCONFIG_TARGET_x86_64=y\n"
+build_two_times ramips_rt288x_RTN15 "CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramips_rt288x=y\nCONFIG_TARGET_ramips_rt288x_RTN15=y\n"
#
# create html about toolchain used
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list