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