blob: c6d174f272bd2a4fb941c8cec80a62a9eb73cab6 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#*******************************************************************************
2# Default target
3#*******************************************************************************
4#zte_lib := libsoft_timer libnvram
5
6include config_lib.mk
7
8.PHONY: all $(zte_lib) romfs
9
10ALL: all romfs
11
12all:
13 touch .sgbuilt_flag
14 for lib in ${zte_lib} ; do \
15 ${MAKE} -j1 -C $$lib all || exit $$?; \
16 done;
17
18romfs:
19 mkdir -p $(ROOTFS_DIR)/lib
20 if [ -f .sgbuilt_flag ]; then \
21 for lib in ${zte_lib} ; do \
22 ${MAKE} -j1 -C $$lib romfs || exit $$?; \
23 done; \
24 fi;
25
26clean:
27 for lib in ${zte_lib} ; do \
28 ${MAKE} -j1 -C $$lib clean; \
29 done; \
30 rm -f .sgbuilt_flag
31