blob: e6e547c75e2da5ba92d6b7abfe919a1b377d6975 [file] [log] [blame]
# /*****************************************************************************
#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
#*
#* ÎļþÃû³Æ: Makefile
#* Îļþ±êʶ: Makefile
#* ÄÚÈÝÕªÒª: Top makefile of zcore librarys
#* ʹÓ÷½·¨: void
#*
#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
#* -----------------------------------------------------------------------------
#* 2015/02/10 V1.0 Create ÁõÑÇÄÏ ´´½¨
#*
# ******************************************************************************/
#*******************************************************************************
# include ZTE library makefile
#*******************************************************************************
#include $(zte_lib_mak)
include $(COMMON_MK)
#*******************************************************************************
# Default target
#*******************************************************************************
zcore_lib := std min
.PHONY: $(zcore_lib)
#*******************************************************************************
# Default target of uClinux makefile framework
#*******************************************************************************
all: ${zcore_lib}
@touch .zcorebuilt_user
romfs:
for lib in ${zcore_lib} ; do \
[ ! -d $$lib ] || $(MAKE) -C $$lib romfs || exit $$? ; \
done
clean:
if [ -f .zcorebuilt_user ]; then \
for lib in ${zcore_lib} ; do \
${MAKE} -j1 -C $$lib clean ; \
done; \
rm -f .zcorebuilt_user; \
fi;
#*******************************************************************************
# zcore library target
#*******************************************************************************
${zcore_lib}:
[ ! -d $@ ] || ${MAKE} -C $(zte_lib_path)/libzcore/$@