]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/blobdiff - build/rtems/config.target
Prepare for compiling FORB "components" for RTEMS
[frescor/frsh-forb.git] / build / rtems / config.target
index ac2d70d6c403b9f72edc01d850e1471716ba4970..83628af4b880d55039a46f60445abf50a97b6f63 100644 (file)
@@ -9,9 +9,9 @@ test: wvtest
 .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.
@@ -22,6 +22,9 @@ USE_LEAF_MAKEFILES=n
 
 OMIT_KERNEL_PASSES=y
 
+# On RTEMS, FORB "components" are static libraries
+forb_shared_LIBRARIES = lib_LIBRARIES
+
 ########################################
 # Setting of compiler
 ########################################
@@ -32,7 +35,7 @@ CFLAGS=$(ARCH_GCC_OPTS) -fpic -Wall -Wuninitialized -g -O1 -D_REENTRANT -D$(PLAT
 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