kconfig: require the argument of --defconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 May 2019 14:37:22 +0000 (23:37 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jun 2019 06:08:18 +0000 (15:08 +0900)
commitb6f7e9f7050b9f8e5fe60d86e05c0740295a54bf
tree45b9f59d4425fdfc8f8e2f673831d521bc605909
parente0a2668665a5f59e210f09385cd2d29833e5f9fa
kconfig: require the argument of --defconfig

Currently, the argument for --defconfig is optional. If the argument
is not passed, the hard-coded default arch/$(ARCH)/defconfig is used.

It no longer happens in Linux since the last users of the default are
gone by the following commits:

- Commit f3e20ad67b4c ("s390: move arch/s390/defconfig to
  arch/s390/configs/defconfig")

- Commit 986a13769c4b ("alpha: move arch/alpha/defconfig to
  arch/alpha/configs/defconfig")

I want to kill the Linux-specific directory path embedded in the
Kconfig binary.

The --savedefconfig (reverse operation of --defconfig) requires an
argument, so it should not hurt to do likewise for --defconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/conf.c
scripts/kconfig/confdata.c
scripts/kconfig/lkc.h