parisc: Implement __get/put_kernel_nofault()
[linux-2.6-microblaze.git] / arch / parisc / Makefile
index aed8ea2..fcde3ff 100644 (file)
@@ -25,18 +25,18 @@ CHECKFLAGS  += -D__hppa__=1
 ifdef CONFIG_64BIT
 UTS_MACHINE    := parisc64
 CHECKFLAGS     += -D__LP64__=1
-CC_ARCHES      = hppa64
 LD_BFD         := elf64-hppa-linux
 else # 32-bit
-CC_ARCHES      = hppa hppa2.0 hppa1.1
 LD_BFD         := elf32-hppa-linux
 endif
 
 # select defconfig based on actual architecture
-ifeq ($(shell uname -m),parisc64)
+ifeq ($(ARCH),parisc64)
        KBUILD_DEFCONFIG := generic-64bit_defconfig
+       CC_ARCHES := hppa64
 else
        KBUILD_DEFCONFIG := generic-32bit_defconfig
+       CC_ARCHES := hppa hppa2.0 hppa1.1
 endif
 
 export LD_BFD
@@ -111,9 +111,6 @@ KBUILD_CFLAGS       += $(cflags-y)
 LIBGCC         := $(shell $(CC) -print-libgcc-file-name)
 export LIBGCC
 
-kernel-y                       := mm/ kernel/ math-emu/
-
-core-y += $(addprefix arch/parisc/, $(kernel-y))
 libs-y += arch/parisc/lib/ $(LIBGCC)
 
 boot   := arch/parisc/boot