ifeq ($(strip $(TARGET_PLATFORM)), mt2635) | |
DIR_MAKEFILE = mt2635 | |
else | |
DIR_MAKEFILE = audio_big_sw | |
endif | |
BUILD_OBJ=$(DIR_MAKEFILE)/obj | |
build: | |
for i in $(DIR_MAKEFILE); do \ | |
(cd $$i && make); \ | |
if [ $$? != 0 ]; then \ | |
exit 1; \ | |
fi \ | |
done | |
install: | |
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 | |