-include $(TOP)/configure/CONFIG_SITE.Common.$(T_A)
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
- -include $(TOP)/configure/O.$(T_A)/CONFIG_APP_INCLUDE
+ ifneq ($(CONFIG),$(TOP)/configure)
+ -include $(CONFIG)/CONFIG_APP_INCLUDE
+ endif
endif
The cross compilation works again.
As far as the sequencer is concerned, this change should not be
necessary. I think (and your other findings seem to support that) there
is a problem with the configuration of this target architecture in base.
I guess there is a file missing somewhere but I have no clue what it
could be.
Sorry, I can't be more helpful.
Cheers
Ben
```
/opt/fsl-qoriq/current/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc64-fsl-linux/powerpc64-fsl-linux-gcc
-D_GNU_SOURCE -D_DEFAULT_SOURCE -DUSE_TYPED_RSET -D_ppc_64_
-DUNIX -Dlinux -O3 -Wall -m64
--sysroot=/opt/fsl-qoriq/current/sysroots/ppc64e6500-fsl-linux
-mhard-float -mcpu=e6500 -pipe -feliminate-unused-debug-types -fPIC
-I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc
-I../../../include/os/Linux -I../../../include
-I/home/jhlee/epics_env/epics-base/include/compiler/gcc
-I/home/jhlee/epics_env/epics-base/include/os/
-I/home/jhlee/epics_env/epics-base/include
-I/home/jhlee/epics_env/epics-base/include/compiler/gcc
-I/home/jhlee/epics_env/epics-base/include/os/Linux
-I/home/jhlee/epics_env/epics-base/include -MM -MF pv.d ../pv.c
```
It looks like somehow OS_CLASS is missing. Can I get some more insights
about them?
The weird CONFIG_SITE.Common.linux-ppc64e6500 is as follows:
```
include $(CONFIG)/os/CONFIG.Common.linux-ppc64
TOOLCHAIN_VER=current
TOOLCHAIN=fsl
TOOLCHAIN_SUFFIX=-qoriq
GNU_TARGET=powerpc64-$(TOOLCHAIN)-linux
SYSROOTS=/opt/$(TOOLCHAIN)$(TOOLCHAIN_SUFFIX)/$(TOOLCHAIN_VER)/sysroots
SDKTARGETSYSROOT=$(SYSROOTS)/ppc64e6500-$(TOOLCHAIN)-linux
CROSS_INCLUDES =
FSL_CFLAG = --sysroot=$(SDKTARGETSYSROOT) -mhard-float -mcpu=e6500
#ARCH_DEP_CPPFLAGS += $(FSL_CFLAG)
ARCH_DEP_CFLAGS += $(FSL_CFLAG)
ARCH_DEP_CXXFLAGS += $(FSL_CFLAG)
ARCH_DEP_LDFLAGS += --sysroot=$(SDKTARGETSYSROOT)
ARCH_DEP_CFLAGS += -pipe -feliminate-unused-debug-types
ARCH_DEP_CXXFLAGS += -pipe -feliminate-unused-debug-types
ARCH_DEP_LDFLAGS += -Wl,-O1
ARCH_DEP_LDFLAGS += -Wl,--hash-style=gnu
ARCH_DEP_LDFLAGS += -Wl,--as-needed
OECORE_NATIVE=x86_64-$(TOOLCHAIN)sdk-linux
GNU_DIR=$(SYSROOTS)/$(OECORE_NATIVE)/usr
GNU_BIN=$(GNU_DIR)/bin/$(GNU_TARGET)
GNU_TARGET_LIB_DIR=$(GNU_DIR)/lib
```--
"Make it so they have to reboot after every typo." ― Scott Adams