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 <vincent.legoll@idgrilles.fr>
This commit is contained in:
Vincent Legoll 2016-09-17 19:44:46 +02:00
parent 0f431dde59
commit 85e75b68cb
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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