3 # List of all supported boards (meant to be overridden on command line)
4 BOARDS?
=compal_e88 compal_e86 compal_e99 se_j100 gta0x pirelli_dpl10
6 # List of all applications (meant to be overridden on command line)
7 APPLICATIONS?
=hello_world compal_dsp_dump layer1 loader chainload monitor
9 # Framebuffer support, board specific drivers
12 FB_OBJS
=fb
/framebuffer.o fb
/font.o fb
/helvR08.o fb
/helvB14.o fb
/c64.o
14 FB_e88_OBJS
=$(FB_OBJS
) fb
/fb_bw8.o fb
/fb_st7558.o
15 FB_e99_OBJS
=$(FB_OBJS
) fb
/fb_rgb332.o fb
/fb_ssd1783.o
16 FB_e86_OBJS
=$(FB_OBJS
) fb
/fb_rgb332.o fb
/fb_td014.o
17 FB_j100_OBJS
=$(FB_OBJS
) fb
/fb_rgb332.o fb
/fb_ssd1963.o
18 FB_dummy_OBJS
=$(FB_OBJS
) fb
/fb_dummy.o
22 calypso_COMMON_OBJS
=board
/common
/calypso_uart.o board
/common
/calypso_pwl.o
26 gta0x_OBJS
=$(calypso_COMMON_OBJS
) board
/gta0x
/rffe_gta0x_triband.o board
/gta0x
/init.o board
/gta0x
/rf_power.o
$(FB_dummy_OBJS
)
27 gta0x_ENVIRONMENTS
=highram
31 pirelli_dpl10_OBJS
=$(calypso_COMMON_OBJS
) board
/pirelli_dpl10
/rffe_dpl10_triband.o board
/pirelli_dpl10
/init.o board
/pirelli_dpl10
/rf_power.o
$(FB_dummy_OBJS
)
32 pirelli_dpl10_ENVIRONMENTS
=highram
36 compal_COMMON_OBJS
=$(calypso_COMMON_OBJS
) board
/compal
/rffe_dualband.o board
/compal
/rf_power.o
37 compal_COMMON_ENVIRONMENTS
=compalram highram
39 compalram_LDS
=board
/compal
/ram.lds
40 compalram_OBJS
=board
/compal
/start.ram.o board
/compal
/exceptions_redirected.o board
/compal
/handlers.o
42 highram_LDS
=board
/compal
/highram.lds
43 highram_OBJS
=board
/compal
/start.ram.o board
/compal
/exceptions_redirected.o board
/compal
/handlers.o
47 compal_e88_OBJS
=$(compal_COMMON_OBJS
) board
/compal_e88
/init.o
$(FB_e88_OBJS
)
48 compal_e88_ENVIRONMENTS
=$(compal_COMMON_ENVIRONMENTS
) e88loader e88flash
50 e88loader_LDS
=board
/compal_e88
/loader.lds
51 e88loader_OBJS
=board
/compal
/start.rom.o board
/compal
/header.o board
/compal
/exceptions_redirect.o
53 e88flash_LDS
=board
/compal_e88
/flash.lds
54 e88flash_OBJS
=board
/compal
/start.rom.o board
/compal
/header.o board
/compal
/exceptions_redirected.o board
/compal
/handlers.o
56 # Compal E86 (has a different RFFE configuration)
58 compal_e86_OBJS
=$(calypso_COMMON_OBJS
) board
/compal_e86
/rffe_dualband_e86.o board
/compal
/rf_power.o board
/compal_e86
/init.o
$(FB_e86_OBJS
)
59 compal_e86_ENVIRONMENTS
=$(compal_COMMON_ENVIRONMENTS
)
63 compal_e99_OBJS
=$(compal_COMMON_OBJS
) board
/compal_e99
/init.o
$(FB_e99_OBJS
)
64 compal_e99_ENVIRONMENTS
=$(compal_COMMON_ENVIRONMENTS
)
66 e99loader_LDS
=board
/compal_e99
/loader.lds
67 e99loader_OBJS
=board
/compal
/header.o
68 e99flash_LDS
=board
/compal_e99
/flash.lds
70 # Sony Ericsson J100 (made by Compal)
72 se_j100_OBJS
=$(compal_COMMON_OBJS
) board
/se_j100
/init.o
$(FB_j100_OBJS
)
73 se_j100_ENVIRONMENTS
=$(compal_COMMON_ENVIRONMENTS
)
76 INCLUDES
=-Iinclude
/ -I..
/..
/..
/include -I..
/..
/shared
/libosmocore
/include
78 # Various objects that are currently linked into all applications
79 FLASH_OBJS
=flash
/cfi_flash.o
80 ABB_OBJS
=abb
/twl3025.o
83 # Objects that go in all applications
84 ANY_APP_OBJS
+=$(ABB_OBJS
) $(RF_OBJS
) $(FLASH_OBJS
)
85 ANY_APP_LIBS
+=calypso
/libcalypso.a layer1
/liblayer1.a lib
/libmini.a comm
/libcomm.a ..
/..
/shared
/libosmocore
/build-target
/src
/.libs
/libosmocore.a ..
/..
/shared
/libosmocore
/build-target
/src
/gsm
/.libs
/libosmogsm.a
87 # Libraries are defined in subdirectories
88 -include calypso
/Makefile
89 -include layer1
/Makefile
90 -include comm
/Makefile
96 # Uncomment this line if you want to enable Tx (Transmit) Support.
97 #CFLAGS += -DCONFIG_TX_ENABLE
99 # Uncomment this line if you want to write to flash.
100 #CFLAGS += -DCONFIG_FLASH_WRITE
102 # Uncomment this line if you want to write to flash, including the bootloader.
103 #CFLAGS += -DCONFIG_FLASH_WRITE_LOADER