patch-2.4.0-test5 linux/arch/arm/Makefile

Next file: linux/arch/arm/boot/compressed/Makefile
Previous file: linux/arch/alpha/lib/csum_partial_copy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/arch/arm/Makefile linux/arch/arm/Makefile
@@ -114,12 +114,7 @@
 
 export	LIBGCC MACHINE PROCESSOR TEXTADDR GZFLAGS
 
-ifeq ($(CONFIG_ARCH_A5K),y)
-MACHINE		 = a5k
-ARCHDIR		 = arc
-endif
-
-ifeq ($(CONFIG_ARCH_ARC),y)
+ifeq ($(CONFIG_ARCH_ARCA5K),y)
 MACHINE		 = arc
 ARCHDIR		 = arc
 endif
@@ -197,7 +192,8 @@
 
 # The following is a hack to get 'constants.h' up
 # to date before starting compilation
-CONSTANTS	:= constants
+
+$(patsubst %, _dir_%, $(SUBDIRS)) : constants
 
 constants: $(TOPDIR)/include/asm-arm/proc-fns.h dummy
 	@$(MAKE) -C arch/arm/lib constants.h

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)