OSDN Git Service

kernel.mk: use olddefconfig instead
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 14 Sep 2018 11:36:47 +0000 (19:36 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 21 Jun 2019 02:47:16 +0000 (10:47 +0800)
As suggested by the warning:

  WARNING: "oldnoconfig" target will be removed after Linux 4.19
            Please use "olddefconfig" instead, which is an alias.

core/tasks/kernel.mk

index c7b5e7a..861b15b 100644 (file)
@@ -46,7 +46,7 @@ KERNEL_ARCH_CHANGED := $(if $(filter 0,$(shell grep -s ^$(if $(filter x86,$(TARG
 $(KERNEL_DOTCONFIG_FILE): $(KERNEL_CONFIG_FILE) $(wildcard $(TARGET_KERNEL_DIFFCONFIG)) $(KERNEL_ARCH_CHANGED)
        $(hide) mkdir -p $(@D) && cat $(wildcard $^) > $@
        $(hide) ln -sf ../../../../../../external $(@D)
-       $(mk_kernel) oldnoconfig
+       $(mk_kernel) olddefconfig
 
 # bison is needed to build kernel and external modules from source
 BISON := $(HOST_OUT_EXECUTABLES)/bison$(HOST_EXECUTABLE_SUFFIX)