.PHONY: test
# Platform name as preprocessor symbol
-export PLATFORM=AQuoSA
+export PLATFORM=rtems
# Platform name as used in file names
-export PLATFORM_FN=linux
+export PLATFORM_FN=rtems
# Create symbolic links to headers instead of copying them. Useful
# during development.
OMIT_KERNEL_PASSES=y
+# On RTEMS, FORB "components" are static libraries
+forb_shared_LIBRARIES = lib_LIBRARIES
+
########################################
# Setting of compiler
########################################
LDFLAGS=$(ARCH_LD_OPTS) $(LIBS_PATH) $(LIBS)
LDFLAGS += '-Wl,-rpath,$$ORIGIN/../lib' -z origin --enable-new-dtags
-IDL_COMPILER = $(OUTPUT_DIR)/$(COMPILED_DIR_NAME)/bin/forb-idl
+IDL_COMPILER = $(OUTPUT_DIR)/_compiled/bin/forb-idl
# Other config
FRSH_DISTRIBUTED_MODULE_SUPPORTED=true