Rename VXMICRO_ARCH and VXMICRO

Change-Id: I6f3858de98333ec466aa876c5f2887faa8e276e2
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-06-05 22:33:49 -04:00
parent f2520f87a2
commit 54ac4484d7
5 changed files with 5 additions and 8 deletions

View file

@ -206,7 +206,7 @@ INCLUDE FILES: drivers/uart.h
#define INBYTE(x) inByte(x)
#define OUTBYTE(x, d) outByte(d, x)
#if defined(VXMICRO_ARCH_Intel)
#if defined(CONFIG_X86_32)
#define INT_CONNECT(port, isr, arg, stub) \
irq_connect((unsigned int)uart[port].irq, \
(unsigned int)uart[port].intPri, \
@ -222,7 +222,7 @@ INCLUDE FILES: drivers/uart.h
isr, \
arg); \
} while (0)
#endif /* VXMICRO_ARCH_Intel */
#endif /* CONFIG_X86_32 */
struct ns16550 {
uint32_t port; /* base port number or MM base address */

View file

@ -40,7 +40,7 @@
#elif defined(CONFIG_ARC)
#include <arch/arc/arch.h>
#else
#error "Unknown VXMICRO_ARCH"
#error "Unknown Architecture"
#endif
#endif /* __ARCHCPU_H__ */

View file

@ -191,8 +191,8 @@ extern void *__stack_chk_guard;
#elif defined(CONFIG_ARM)
#define _MOVE_INSTR "str "
#else
#error "Unknown VXMICRO_ARCH type"
#endif /* VXMICRO_ARCH */
#error "Unknown Architecture type"
#endif /* CONFIG_X86_32 */
#define STACK_CANARY_INIT() \
do { \

View file

@ -7,8 +7,6 @@ endif
ifeq ($(CONFIG_CPU_CORTEXM4),y)
arm_FLAGS += -mcpu=cortex-m4 -march=armv7e-m
endif
arm_FLAGS += -DCONFIG_ARM
arm_FLAGS += -DVXMICRO_ARCH=arm
arm_FLAGS += $(SECTION_GC_FLAG)
arm_FLAGS += $(LTO_FLAG-$(CONFIG_LTO))

View file

@ -10,7 +10,6 @@ ifneq ($(CONFIG_BSP_QUARK),y)
iSSE_FP_MATH_ ?= -mno-sse
iSSE_FP_MATH ?= ${iSSE_FP_MATH_${CONFIG_SSE_FP_MATH}}
endif
x86_FLAGS += -DVXMICRO_ARCH=x86
x86_FLAGS += $(ALIGN_STACK_FLAG)
x86_FLAGS += $(SECTION_GC_FLAG)
x86_FLAGS += $(LTO_FLAG)