Commit ededa081 authored by Helge Deller's avatar Helge Deller

parisc: Fix defconfig selection

Fix the recursive loop when running "make ARCH=parisc defconfig".

Fixes: 84669923 ("parisc: Regenerate parisc defconfigs")
Noticed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 9420e8ad
...@@ -79,6 +79,11 @@ config MMU ...@@ -79,6 +79,11 @@ config MMU
config STACK_GROWSUP config STACK_GROWSUP
def_bool y def_bool y
config ARCH_DEFCONFIG
string
default "arch/parisc/configs/generic-32bit_defconfig" if !64BIT
default "arch/parisc/configs/generic-64bit_defconfig" if 64BIT
config GENERIC_LOCKBREAK config GENERIC_LOCKBREAK
bool bool
default y default y
......
...@@ -34,6 +34,13 @@ CC_ARCHES = hppa hppa2.0 hppa1.1 ...@@ -34,6 +34,13 @@ CC_ARCHES = hppa hppa2.0 hppa1.1
LD_BFD := elf32-hppa-linux LD_BFD := elf32-hppa-linux
endif endif
# select defconfig based on actual architecture
ifeq ($(shell uname -m),parisc64)
KBUILD_DEFCONFIG := generic-64bit_defconfig
else
KBUILD_DEFCONFIG := generic-32bit_defconfig
endif
export LD_BFD export LD_BFD
ifneq ($(SUBARCH),$(UTS_MACHINE)) ifneq ($(SUBARCH),$(UTS_MACHINE))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment