--- zzzz-none-000/linux-2.6.19.2/arch/um/Makefile-i386 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/arch/um/Makefile-i386 2007-01-11 07:38:19.000000000 +0000 @@ -16,6 +16,7 @@ ifeq ("$(origin SUBARCH)", "command line") ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)") CFLAGS += $(call cc-option,-m32) +USER_CFLAGS += $(call cc-option,-m32) AFLAGS += $(call cc-option,-m32) LINK-y += $(call cc-option,-m32) UML_OBJCOPYFLAGS += -F $(ELF_FORMAT) @@ -24,7 +25,7 @@ endif endif -ARCH_KERNEL_DEFINES += -U__$(SUBARCH)__ -U$(SUBARCH) +CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y. include $(srctree)/arch/i386/Makefile.cpu @@ -37,3 +38,4 @@ cflags-y += -ffreestanding CFLAGS += $(cflags-y) +USER_CFLAGS += $(cflags-y)