Initial cut of the open ath9k htc firmware.
[open-ath9k-htc-firmware.git] / target_firmware / magpie_fw_dev / build / magpie_1_1 / sboot / cmnos / Makefile
1 include $(MAGPIE_ROOT)/build/make_opt/Makefile.h
2
3
4 #
5 # Sub-system source main path
6 #
7 # !!Customize!!
8
9 #export LAYERNAME = rom
10 export SSNAME = cmnos
11
12
13 #
14 # Sub-system source main path
15 #
16
17 export SSMPATH = $(PRJ_ROOT)/$(TARGET)/$(SSNAME)
18
19
20 #
21 # Sub-system object search path for GNU tool chain
22 #
23 # !!Customize!!
24
25 #export SSOBJPATH = $(PRJ_ROOT)/$(TARGET)/$(SSNAME)/obj
26
27
28 #
29 # Sub-system/module list at this layer
30 #
31 # !!Customize!!
32
33 DIRS = allocram clock eeprom intr mem misc printf rompatch string tasklet timer wdt uart sflash
34 #DIRS = allocram
35
36 #
37 # Archive for this package
38 #
39 # !!Customize!!
40
41 export L_TARGET = $(LIB_PATH)/libcmnos.a
42
43
44 #
45 # Targets
46 #
47
48 all:
49 #       for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss all || exit $?; done
50         for i in $(DIRS) ; do $(MAKE) -C $$i all || exit $? ; done
51 #       ar -rcs $(L_TARGET) `find . -name "*.o"`
52
53
54 dep:
55         for i in $(DIRS) ; do $(MAKE) -C $$i dep || exit $? ; done
56
57 clean:
58         for i in $(DIRS) ; do $(MAKE) -C $$i clean; done
59
60 init:
61         for i in $(DIRS) ; do $(MAKE) -C $$i init; done
62