blob: 2ff74f9d1f91d8a42ed05743904fba058ef3b966 [file] [log] [blame]
PREFIX = ../install
CROSS = arm-none-linux-
ROOT = $(PREFIX)/$(CROSS:%-=%)
#For Yocto use
RFX_TEST_CLIENT = false
RFX_TEST_AOSP = false
$(warning ########## libvendor_ril BB_TELEFWK_OPTION $(BB_TELEFWK_OPTION) ##########)
SUBDIRS += lynq-riltel
$(warning ########## lynq-rilcmd SUBDIRS $(SUBDIRS) ##########)
export SIM_COUNT?=1
.PHONY: all build clean pack_rootfs
all: build
build: clean
clean:
$(warning ########## clean ril ##########)
for i in $(SUBDIRS); do \
(cd $$i && make clean); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done
build:
$(warning ########## build ril ##########)
for i in $(SUBDIRS); do \
(cd $$i && make); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done
install:
$(warning ########## install ril ##########)
for i in $(SUBDIRS); do \
(cd $$i && make install); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done
pack_rootfs:
$(warning ########## pack_rootfs ril ##########)
for i in $(SUBDIRS); do \
(cd $$i && make pack_rootfs); \
if [ $$? != 0 ]; then \
exit 1; \
fi \
done