From 8117ebeb89cd0e2b736333c56e87590e7e851117 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 29 Jul 2016 14:14:27 -0400 Subject: 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 --- bin/reproducible_openwrt_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2