| 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 += liblynq-broadcast |
| |
| |
| |
| |
| |
| $(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 |