Subversion Repositories svn.mios32

Rev

Rev 23 | Rev 29 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10 tk 1
# $Id: mios32.mk 27 2008-09-16 23:19:31Z tk $
2
# defines additional rules for MIOS32
3
 
23 tk 4
# enhance include path
10 tk 5
C_INCLUDE += -I $(MIOS32_PATH)/modules/mios32
6
 
23 tk 7
 
8
# add modules to thumb sources (TODO: provide makefile option to add code to ARM sources)
9
THUMB_SOURCE += \
10
	$(MIOS32_PATH)/modules/mios32/mios32_sys.c \
11
	$(MIOS32_PATH)/modules/mios32/mios32_srio.c \
12
	$(MIOS32_PATH)/modules/mios32/mios32_din.c \
27 tk 13
	$(MIOS32_PATH)/modules/mios32/mios32_dout.c \
14
	$(MIOS32_PATH)/modules/mios32/mios32_usb.c \
15
	$(MIOS32_PATH)/modules/mios32/mios32_usb_desc.c \
16
	$(DRIVER_LIB)/src/usb_core.c \
17
	$(DRIVER_LIB)/src/usb_init.c \
18
	$(DRIVER_LIB)/src/usb_int.c \
19
	$(DRIVER_LIB)/src/usb_mem.c \
20
	$(DRIVER_LIB)/src/usb_regs.c
23 tk 21
 
27 tk 22
# MEMO: the gcc linker is clever enough to exclude functions from the final memory image
23
# if they are not references from the main routine - accordingly we can savely include
24
# the USB drivers without the danger that this increases the project size of applications,
25
# which don't use the USB peripheral at all :-)
23 tk 26
 
27 tk 27
 
10 tk 28
# directories and files that should be part of the distribution (release) package
29
DIST += $(MIOS32_PATH)/modules/mios32