]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
alpha: move arch/alpha/defconfig to arch/alpha/configs/defconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 May 2019 02:14:05 +0000 (11:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 18 May 2019 02:49:55 +0000 (11:49 +0900)
As of Linux 5.1, alpha and s390 are the last architectures that
have defconfig in arch/*/ instead of arch/*/configs/.

  $ find arch -name defconfig | sort
  arch/alpha/defconfig
  arch/arm64/configs/defconfig
  arch/csky/configs/defconfig
  arch/nds32/configs/defconfig
  arch/riscv/configs/defconfig
  arch/s390/defconfig

The arch/$(ARCH)/defconfig is the hard-coded default in Kconfig,
and I want to deprecate it after evacuating the remaining defconfig
into the standard location, arch/*/configs/.

Define KBUILD_DEFCONFIG like other architectures, and move defconfig
into the configs/ subdirectory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
arch/alpha/Makefile
arch/alpha/configs/defconfig [moved from arch/alpha/defconfig with 100% similarity]

index 12dee59b011c0a1ebc10e1102a0ef6efa13b252a..b3314e0dcb6fb0d3f92509365677a6735fa2f9c8 100644 (file)
@@ -8,6 +8,8 @@
 # Copyright (C) 1994 by Linus Torvalds
 #
 
+KBUILD_DEFCONFIG := defconfig
+
 NM := $(NM) -B
 
 LDFLAGS_vmlinux        := -static -N #-relax