rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | $(warning !!!!! target platform=$(TARGET_PLATFORM) !!!!!) |
| 2 | ifeq ($(strip $(TARGET_PLATFORM)), ) |
| 3 | DIR_MAKEFILE = mt2635 |
| 4 | else |
| 5 | DIR_MAKEFILE = $(TARGET_PLATFORM) |
| 6 | endif |
| 7 | |
| 8 | build: |
| 9 | $(warning ########## build libmodem ##########) |
| 10 | for i in $(DIR_MAKEFILE); do \ |
| 11 | (cd $$i && make); \ |
| 12 | if [ $$? != 0 ]; then \ |
| 13 | exit 1; \ |
| 14 | fi \ |
| 15 | done |
| 16 | |
| 17 | install: |
| 18 | $(warning ########## install libmodem ##########) |
| 19 | for i in $(DIR_MAKEFILE); do \ |
| 20 | (cd $$i && make install); \ |
| 21 | if [ $$? != 0 ]; then \ |
| 22 | exit 1; \ |
| 23 | fi \ |
| 24 | done |
| 25 | |
| 26 | clean: |
| 27 | for i in $(DIR_MAKEFILE); do \ |
| 28 | (cd $$i && make clean); \ |
| 29 | if [ $$? != 0 ]; then \ |
| 30 | exit 1; \ |
| 31 | fi \ |
| 32 | done |
| 33 | |