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