Added VX_GNU_VERSION_6.7 definition.

For v6.7, added "-DBSD=44" to get correct network interface structure.
This commit is contained in:
Janet B. Anderson
2009-12-01 15:51:41 +00:00
parent cec444b83c
commit 23e4635d17

View File

@@ -91,6 +91,7 @@ VX_GNU_VERSION_6.3 = 3.4.4
VX_GNU_VERSION_6.4 = 3.4.4
VX_GNU_VERSION_6.5 = 3.4.4
VX_GNU_VERSION_6.6 = 4.1.2
VX_GNU_VERSION_6.7 = 4.1.2
VX_GNU_VERSION = $(VX_GNU_VERSION_$(VXWORKS_VERSION))
VX_GNU_MAJOR_VERSION = $(basename $(basename $(VX_GNU_VERSION)))
@@ -149,8 +150,10 @@ export TOOL_FAMILY = GNU
#--------------------------------------------------
# Operating system flags
OP_SYS_CPPFLAGS += -DvxWorks
OP_SYS_CFLAGS += -fno-builtin
BSD_DEFINE_VERSION_6.7 = -DBSD=44
OP_BSD_DEFINE = $(BSD_DEFINE_VERSION_$(VXWORKS_VERSION))
OP_SYS_CPPFLAGS += -DvxWorks $(OP_BSD_DEFINE)
OP_SYS_CFLAGS += -fno-builtin $(OP_BSD_DEFINE)
# Fix for vxWorks headers that use macros defined in vxWorks.h but
# which don't actually include vxWorks.h themselves, for example the