26 lines
714 B
Plaintext
26 lines
714 B
Plaintext
# Moxa DA-66x with SDK 4.2 and ARM7 processor
|
|
|
|
# Include definitions common to all Linux ARM targets
|
|
include $(CONFIG)/os/CONFIG.Common.linux-arm
|
|
|
|
GNU_DIR=/opt/moxa/arm-linux-4.4.2-v4
|
|
GNU_TARGET=arm
|
|
ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(GNU_DIR)/arm-none-linux-gnueabi/lib
|
|
|
|
COMMANDLINE_LIBRARY = READLINE_NCURSES
|
|
|
|
# suppress note "the mangling of 'va_list' has changed in GCC 4.4"
|
|
ARCH_DEP_CXXFLAGS += -Wno-psabi
|
|
|
|
ARCH_DEP_CFLAGS += -funwind-tables
|
|
|
|
# have no full C++11
|
|
STD_CXXFLAGS = -std=c++0x
|
|
|
|
# suppress strict alias warnings
|
|
CODE_CPPFLAGS += -fno-strict-aliasing
|
|
|
|
# accept4() exists but does not work
|
|
# Give fake __rtems__ macro to posix/osdSock.c because that disables accept4()
|
|
osdSock_CFLAGS += -D__rtems__
|