]> rtime.felk.cvut.cz Git - rtems-pluggable-edf.git/blob - src/config.target
Directory rtems-omk-template renamed to src
[rtems-pluggable-edf.git] / src / config.target
1 # -*- makefile-gmake -*-
2 # Config file for compilation by OMK for RTEMS OS target
3
4 # You can override these variables in config.omk
5 AQUOSA_ROOT ?= $(wildcard /usr/local/aquosa)
6 QTDIR ?= $(wildcard /usr/share/qt4)
7
8 test: wvtest
9 .PHONY: test
10
11 # Platform name as preprocessor symbol
12 export PLATFORM=rtems
13 # Platform name as used in file names
14 export PLATFORM_FN=rtems
15
16 # Create symbolic links to headers instead of copying them. Useful
17 # during development.
18 LN_HEADERS=y
19
20 # We do not want to overwrite original FRESCOR Makefiles
21 USE_LEAF_MAKEFILES=n
22
23 OMIT_KERNEL_PASSES=y
24
25 ########################################
26 # Setting of compiler
27 ########################################
28
29 # Instead, we call normal gcc with parameters which mgcc adds
30
31 CFLAGS=$(ARCH_GCC_OPTS) -fpic -Wall -Wuninitialized -g -O1 -D_REENTRANT -D$(PLATFORM) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
32 LDFLAGS=$(ARCH_LD_OPTS) $(LIBS_PATH) $(LIBS)
33 LDFLAGS += '-Wl,-rpath,$$ORIGIN/../lib' -z origin --enable-new-dtags
34
35 IDL_COMPILER = $(OUTPUT_DIR)/_compiled/bin/forb-idl
36
37 # Other config
38 FRSH_DISTRIBUTED_MODULE_SUPPORTED=true
39 CONFIG_FORB_PROTO_UNIX=n
40 CONFIG_FORB_PROTO_INET_DEFAULT=y
41
42 # Disable tests which do not compile with FRSH_FORB
43
44 CONFIG_FRSH_TEST_context_switch=n                             # Needs timespec_operations.h and frsh_os_compatibility.h
45 CONFIG_FRSH_TEST_demo_september2007=n                         # Needs frsh_thread_get_vres_id()
46 CONFIG_FRSH_TEST_demo_september2007_with_signals=n            # Some problem with signal constants and non-int vres_id
47 CONFIG_FRSH_TEST_dl_test=n                                    # Needs different Makefile.omk
48 CONFIG_FRSH_TEST_example_d-ac1_frescor=n                      # Needs int vres_id
49 CONFIG_FRSH_TEST_frsh_shared_obj_test=n                       # Needs eat.h and timespec_operations.h
50 CONFIG_FRSH_TEST_functions=n                                  # Needs timespec_operations.h and frsh_os_compatibility.h
51 CONFIG_FRSH_TEST_jitter_test=n                                # Needs timespec_operations.h and frsh_os_compatibility.h
52 CONFIG_FRSH_TEST_sharedobj_prototype=n                        # Needs frsh_sharedobj_XXX
53 CONFIG_FRSH_TEST_test_bind=n                                  # Needs eat.h and timespec_operations.h
54 CONFIG_FRSH_TEST_test_contract_labels=n                       # Needs eat.h and timespec_operations.h
55 CONFIG_FRSH_TEST_test_eat=n                                   # Needs eat.h
56 CONFIG_FRSH_TEST_test_frsh_performance=n                      # Needs more frsh api - todo
57 CONFIG_FRSH_TEST_test_frsh_renegotiate_async=n                # Needs eat.h and timespec_operations.h
58 CONFIG_FRSH_TEST_test_frsh_synch_obj=n                        # Needs frsh_thread_id_t to be simple type - Aquosa declares it as structure
59 CONFIG_FRSH_TEST_test_memory=n                                # Needs different Makefile.omk and then we will see :)
60 CONFIG_FRSH_TEST_demo_sept07_negotiate_and_send=n             # Needs RTEP
61 CONFIG_FRSH_TEST_demo_sept07_negotiations_limit=n             # Needs RTEP
62 CONFIG_FRSH_TEST_demo_sept07_renegotiate_and_send=n           # Needs RTEP
63 CONFIG_FRSH_TEST_test_endpoints=n                             # Needs RTEP
64 CONFIG_FRSH_TEST_test_frsh_distributed_contract_negotiate=n   # Nedds vres_id to be int
65 CONFIG_FRSH_TEST_test_frsh_distributed_contract_renegotiate=n # Needs RTEP
66 CONFIG_FRSH_TEST_test_frsh_distributed_init=n                 # Needs THE_FRSH_CPU_ID
67 CONFIG_FRSH_TEST_test_frsh_marshal=n                          # Accesses frsh_contract_t fields directly
68 CONFIG_FRSH_TEST_test_frsh_send_receive_basic=n               # Needs RTEP
69 CONFIG_FRSH_TEST_test_get_network_info=n                      # Needs RTEP
70 CONFIG_FRSH_TEST_test_self_bind=n                             # Needs eat.h and timespec_operations.h
71 CONFIG_FRSH_TEST_test_sizes=n                                 # Needs frsh_internal.h - TODO
72 CONFIG_FRSH_TEST_test_spare_capacity=n                        # Needs more frsh api - TODO
73 CONFIG_FRSH_TEST_test_timespec_operations=n                   # Needs timespec_operations.h
74 CONFIG_FRSH_TEST_test_vres_id_bits=n                          # Depends on bit-fields in integer vres_id
75 CONFIG_FSA_TESTS=n                                            # Depends on bit-fields in integer vres_id
76
77 # Define the RTEMS installation directory in your config.omk
78 RTEMS_MAKEFILE_PATH = /opt/rtems/i386-rtems4.10/pc586
79
80 # NOTE: If the install as root fails due to not having RTEMS tools in your PATH,
81 #       you will have to "export PATH=/opt/rtems-4.10/bin:$PATH" as well.