summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt_common.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-29 14:14:27 -0400
committerHolger Levsen <holger@layer-acht.org>2016-07-29 17:03:07 -0400
commit8117ebeb89cd0e2b736333c56e87590e7e851117 (patch)
tree00de8cfc706447a7ee9e25515c5fafb9bf49d8ad /bin/reproducible_openwrt_common.sh
parent764690b2d6fceca0e1459c8ab6b8a3923e80043f (diff)
downloadjenkins.debian.net-8117ebeb89cd0e2b736333c56e87590e7e851117.tar.xz
reproducible_openwrt_common: rename openwrt_build() -> openwrt_compile
prepare to use openwrt_build() for a full indepentend build. openwrt_compiles only the packages and images Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_openwrt_common.sh')
-rw-r--r--bin/reproducible_openwrt_common.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 784d8008..d72179f2 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -123,7 +123,7 @@ openwrt_build_toolchain() {
# TYPE - openwrt or lede
# RUN - b1 or b2. b1 means first run, b2 second
# TARGET - a target including subtarget. E.g. ar71xx_generic
-openwrt_build() {
+openwrt_compile() {
TYPE=$1
RUN=$2
TARGET=$3
@@ -167,7 +167,7 @@ build_two_times() {
# FIRST BUILD
export TZ="/usr/share/zoneinfo/Etc/GMT+12"
MAKE=make
- openwrt_build "$TYPE" b1 "$TARGET"
+ openwrt_compile "$TYPE" b1 "$TARGET"
# get banner
cat $(find build_dir/ -name banner | grep etc/banner|head -1) > $BANNER_HTML
@@ -192,7 +192,7 @@ build_two_times() {
# use allmost all cores for second build
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
MAKE="linux64 --uname-2.6 make"
- openwrt_build "$TYPE" b2 "$TARGET"
+ openwrt_compile "$TYPE" b2 "$TARGET"
# save results in b2
[ "$TYPE" = "lede" ] && save_lede_results b2