summaryrefslogtreecommitdiff
path: root/arch/i386/cpu/config.mk
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:21 +1100
committerGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:21 +1100
commita85f53cd3fb2d24231808994dafe43023b3ce6d4 (patch)
treeb1a3fb71b83d26ea2fa099f834a97647bbd57997 /arch/i386/cpu/config.mk
parentde47cbe6860654cc6c0cf8820d9165f059c7cf38 (diff)
downloadu-boot-imx-a85f53cd3fb2d24231808994dafe43023b3ce6d4.zip
u-boot-imx-a85f53cd3fb2d24231808994dafe43023b3ce6d4.tar.gz
u-boot-imx-a85f53cd3fb2d24231808994dafe43023b3ce6d4.tar.bz2
x86: Align config.mk and linker scripts with other arches
Diffstat (limited to 'arch/i386/cpu/config.mk')
-rw-r--r--arch/i386/cpu/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/cpu/config.mk b/arch/i386/cpu/config.mk
index 16a160d..ec1d102 100644
--- a/arch/i386/cpu/config.mk
+++ b/arch/i386/cpu/config.mk
@@ -21,6 +21,6 @@
# MA 02111-1307 USA
#
-PLATFORM_RELFLAGS +=
+CROSS_COMPILE ?= i386-linux-
-PLATFORM_CPPFLAGS += -march=i386 -Werror
+PLATFORM_CPPFLAGS += -DCONFIG_I386 -D__I386__ -march=i386 -Werror