Prevent vxWorks 5.4 builds of altivec targets.
This commit is contained in:
@@ -11,11 +11,12 @@ include $(CONFIG)/os/CONFIG.Common.vxWorks-ppc604_long
|
||||
|
||||
defval = $(if $(strip $(1),),$(1),$(2))
|
||||
|
||||
# Tell compiler to include altivec support
|
||||
ALTIVEC_CFLAG_5 = -fvec
|
||||
|
||||
# From 6.1 the altivec compiler option changed
|
||||
# Tell compiler to include altivec support; not available in 5.4
|
||||
ALTIVEC_CFLAG_5.4 = THIS_VERSION_OF_VXWORKS DOES_NOT_SUPPORT_ALTIVEC
|
||||
ALTIVEC_CFLAG_5.5 = -fvec
|
||||
ALTIVEC_CFLAG_6.0 = -fvec
|
||||
ALTIVEC_CFLAG_6 = $(call defval,$(ALTIVEC_CFLAG_$(VXWORKS_VERSION)),-maltivec)
|
||||
|
||||
ARCH_DEP_CFLAGS += $(ALTIVEC_CFLAG_$(VXWORKS_MAJOR_VERSION))
|
||||
# From 6.1 onwards the compiler option changed
|
||||
ALTIVEC_CFLAG = -maltivec
|
||||
|
||||
ARCH_DEP_CFLAGS += $(call defval,$(ALTIVEC_CFLAG_$(VXWORKS_VERSION)),$(ALTIVEC_CFLAG))
|
||||
|
||||
Reference in New Issue
Block a user