Change test to test on BUILD_CLASS not CROSS.
This commit is contained in:
@@ -28,7 +28,7 @@ empty:= # trick from the make docs...
|
||||
space:= $(empty) $(empty)
|
||||
RUNTIME_LDFLAGS = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=parisc-hp-unix
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -12,7 +12,7 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
|
||||
ARCH_DEP_CFLAGS = -march=i386
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=i386-pc-linux-gnu
|
||||
endif
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
|
||||
ARCH_DEP_CFLAGS = -march=i486
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=i486-pc-linux-gnu
|
||||
endif
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
# i586 is euivalent to pentiumpro
|
||||
ARCH_DEP_CFLAGS = -march=i586
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=i586-pc-linux-gnu
|
||||
endif
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
# i686 is euivalent to pentiumpro
|
||||
ARCH_DEP_CFLAGS = -march=i686
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=i686-pc-linux-gnu
|
||||
endif
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.linux-x86
|
||||
ARCH_DEP_CFLAGS += -march=athlon-mp -mfpmath=sse
|
||||
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=athlon-pc-linux-gnu
|
||||
endif
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ OP_SYS_LDLIBS = -lrt
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=ppc_82xx
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -29,7 +29,7 @@ ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-Wl,-rpath,%)
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
ifeq ($(EPICS_HOST_ARCH),linux-x86)
|
||||
# Added for 386,486,... cross builds
|
||||
CMPLR_PREFIX=
|
||||
|
||||
@@ -24,7 +24,7 @@ ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=i586-pc-linux-gnu
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -23,7 +23,7 @@ ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
ARCH_DEP_LDFLAGS =
|
||||
ARCH_DEP_LDLIBS =
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=x86-lynxos
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -22,7 +22,7 @@ POSIX_LDLIBS_NO +=
|
||||
|
||||
OP_SYS_CPPFLAGS = -D_OSF_SOURCE
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=alpha-osf
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -30,7 +30,7 @@ OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=sparc-sun-solaris2
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -31,7 +31,7 @@ ARCH_DEP_CPPFLAGS = -D_X86_
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=x86-sun-solaris2
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
@@ -26,7 +26,7 @@ ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)
|
||||
|
||||
ifdef CROSS
|
||||
ifeq ($(BUILD_CLASS),CROSS)
|
||||
GNU_TARGET=x86-sun-sunos4
|
||||
CMPLR_SUFFIX=
|
||||
CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET))
|
||||
|
||||
Reference in New Issue
Block a user