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