From 85e75b68cb5108d3740483933144e483cf89a0f9 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sat, 17 Sep 2016 19:44:46 +0200 Subject: [PATCH] Rename DEBUG_MODE to CREATE_PATCHES As proposed on the forum: http://forum.armbian.com/index.php/topic/1660-420-build-tools-testing-for-improvements-andor-documentation/#entry15104 Signed-off-by: Vincent Legoll --- common.sh | 4 ++-- compile.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common.sh b/common.sh index e7c0a49526..fd6345ad34 100644 --- a/common.sh +++ b/common.sh @@ -34,7 +34,7 @@ compile_uboot() local version=$(grab_version "$SOURCES/$BOOTSOURCEDIR") # create patch for manual source changes in debug mode - [[ $DEBUG_MODE == yes ]] && userpatch_create "u-boot" + [[ $CREATE_PATCHES == yes ]] && userpatch_create "u-boot" display_alert "Compiling uboot" "$version" "info" display_alert "Compiler version" "${UBOOT_COMPILER}gcc $(eval ${UBOOT_TOOLCHAIN:+env PATH=$UBOOT_TOOLCHAIN:$PATH} ${UBOOT_COMPILER}gcc -dumpversion)" "info" @@ -139,7 +139,7 @@ compile_kernel() local version=$(grab_version "$SOURCES/$LINUXSOURCEDIR") # create patch for manual source changes in debug mode - [[ $DEBUG_MODE == yes ]] && userpatch_create "kernel" + [[ $CREATE_PATCHES == yes ]] && userpatch_create "kernel" display_alert "Compiling $BRANCH kernel" "$version" "info" display_alert "Compiler version" "${KERNEL_COMPILER}gcc $(eval ${KERNEL_TOOLCHAIN:+env PATH=$KERNEL_TOOLCHAIN:$PATH} ${KERNEL_COMPILER}gcc -dumpversion)" "info" diff --git a/compile.sh b/compile.sh index b8afce3b7a..f4dfe3c058 100755 --- a/compile.sh +++ b/compile.sh @@ -26,7 +26,7 @@ DEST_LANG="en_US.UTF-8" # sl_SI.UTF-8, en_US.UTF-8 KERNEL_KEEP_CONFIG="no" # do not overwrite kernel config before compilation EXTERNAL="yes" # build and install extra applications and drivers EXTERNAL_NEW="prebuilt" # compile and install or install prebuilt additional packages -DEBUG_MODE="no" # wait that you make changes to uboot and kernel source and creates patches +CREATE_PATCHES="no" # wait that you make changes to uboot and kernel source and creates patches FORCE_CHECKOUT="yes" # ignore manual changes to source BUILD_ALL="no" # cycle through available boards and make images or kernel/u-boot packages. # set KERNEL_ONLY to "yes" or "no" to build all packages/all images