[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190513021405.12428-1-yamada.masahiro@socionext.com>
Date: Mon, 13 May 2019 11:14:05 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-kbuild@...r.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Greentime Hu <green.hu@...il.com>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
linux-kernel@...r.kernel.org, Guo Ren <guoren@...nel.org>,
Vincent Chen <deanbo422@...il.com>,
Matt Turner <mattst88@...il.com>,
Palmer Dabbelt <palmer@...ive.com>,
linux-alpha@...r.kernel.org, Richard Henderson <rth@...ddle.net>,
linux-riscv@...ts.infradead.org, Albert Ou <aou@...s.berkeley.edu>
Subject: [PATCH] alpha: move arch/alpha/defconfig to arch/alpha/configs/defconfig
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@...ionext.com>
---
arch/alpha/Makefile | 2 ++
arch/alpha/{ => configs}/defconfig | 0
2 files changed, 2 insertions(+)
rename arch/alpha/{ => configs}/defconfig (100%)
diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile
index 12dee59b011c..b3314e0dcb6f 100644
--- a/arch/alpha/Makefile
+++ b/arch/alpha/Makefile
@@ -8,6 +8,8 @@
# Copyright (C) 1994 by Linus Torvalds
#
+KBUILD_DEFCONFIG := defconfig
+
NM := $(NM) -B
LDFLAGS_vmlinux := -static -N #-relax
diff --git a/arch/alpha/defconfig b/arch/alpha/configs/defconfig
similarity index 100%
rename from arch/alpha/defconfig
rename to arch/alpha/configs/defconfig
--
2.17.1
Powered by blists - more mailing lists