summaryrefslogblamecommitdiffstats
path: root/src/target/firmware/Makefile
blob: 7c6ba7a3d1a1944d2509a71e5f455bfa891b03e1 (plain) (tree)
1
2
3
4
5
6
7
8
9

                     
                                                                         
 
                                                                 
                            
                                                                                                               

                      

                                                                
                                         
 
                              
                             


                                                                                                             
 
                                              
                              



                                             
                                                                         
 
                                    
                                                                                 
                                                                                                                                                
 




                                         
 

                     

# Global include path
INCLUDES=-Iinclude/ -I../../../include -I../../shared/libosmocore/include

# Various objects that are currently linked into all applications
FLASH_OBJS=flash/cfi_flash.o
DISPLAY_OBJS=display/font_r8x8.o display/font_r8x8_horiz.o display/st7558.o display/ssd1783.o display/display.o
ABB_OBJS=abb/twl3025.o
RF_OBJS=rf/trf6151.o

# Board- and environment-specific startup code and linker script
START=board/common/compal_ramload_start.S

# List of all supported boards
BOARDS?=compal_e88 compal_e99
compal_COMMON_OBJS=board/common/rffe_compal_dualband.o board/common/calypso_uart.o board/common/calypso_pwl.o
compal_e88_OBJS=$(compal_COMMON_OBJS) board/compal_e88/init.o
compal_e99_OBJS=$(compal_COMMON_OBJS) board/compal_e99/init.o

# List of all supported execution environments
ENVIRONMENTS?=ramload osmoload
ramload_LDS=board/common/compal_ramload.lds
osmoload_LDS=board/common/compal_osmoload.lds

# List of all applications (add yours here!)
APPLICATIONS=hello_world l1test compal_dump compal_dsp_dump layer1 loader

# Things that go in all applications
ANY_APP_OBJS+=$(START:.S=.o) $(ABB_OBJS) $(RF_OBJS) $(DISPLAY_OBJS) $(FLASH_OBJS)
ANY_APP_LIBS+=calypso/libcalypso.a layer1/liblayer1.a lib/libmini.a comm/libcomm.a ../../shared/libosmocore/build-target/src/.libs/libosmocore.a

# Libraries are defined in subdirectories
-include calypso/Makefile
-include layer1/Makefile
-include comm/Makefile
-include lib/Makefile

# Include rules
-include Makefile.inc