2016-03-12 21:47:40 +08:00
|
|
|
ifeq ($(CONFIG_X86_IAMCU),y)
|
2016-04-23 20:54:40 +08:00
|
|
|
LD_TOOLCHAIN ?= -D__GCC_LINKER_CMD__ -D__IAMCU
|
|
|
|
OUTPUT_FORMAT = elf32-iamcu
|
|
|
|
OUTPUT_ARCH = iamcu:intel
|
2016-03-12 21:47:40 +08:00
|
|
|
KBUILD_CFLAGS += $(call cc-option,-msoft-float)
|
|
|
|
endif
|
2016-04-23 20:54:40 +08:00
|
|
|
|
2016-01-13 20:49:42 +08:00
|
|
|
KBUILD_CFLAGS += $(call cc-option,-march=pentium)
|
|
|
|
KBUILD_CXXFLAGS += $(call cc-option,-march=pentium)
|
|
|
|
KBUILD_AFLAGS += $(KBUILD_CFLAGS)
|