blob: 830f2dd3daf6e21f53f4d4d7dd73736d25eada6d [file] [log] [blame]
$(warning !!!!! target platform=$(TARGET_PLATFORM) !!!!!)
ifeq ($(strip $(TARGET_PLATFORM)), )
DIR_MAKEFILE = mt2635
else
DIR_MAKEFILE = $(TARGET_PLATFORM)
endif
build:
$(warning ########## build libmodem ##########)
for i in $(DIR_MAKEFILE); do \
(cd $$i && make); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done
install:
$(warning ########## install libmodem ##########)
for i in $(DIR_MAKEFILE); do \
(cd $$i && make install); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done
clean:
for i in $(DIR_MAKEFILE); do \
(cd $$i && make clean); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done