2017-07-26 02:44:56 +02:00
|
|
|
kernelver ?= $(shell uname -r)
|
|
|
|
KDIR ?= /lib/modules/$(kernelver)/build
|
2015-08-05 17:22:42 +02:00
|
|
|
PWD := $(shell pwd)
|
|
|
|
|
2018-05-02 15:35:28 +02:00
|
|
|
MODDEFS := CONFIG_DVB_CORE=m CONFIG_DVB_DDBRIDGE=m CONFIG_DVB_DRXK=m CONFIG_DVB_TDA18271C2DD=m CONFIG_DVB_CXD2099=m CONFIG_DVB_LNBP21=m CONFIG_DVB_STV090x=m CONFIG_DVB_STV6110x=m CONFIG_DVB_STV0367=m CONFIG_DVB_TDA18212=m CONFIG_DVB_STV0367DD=m CONFIG_DVB_TDA18212DD=m CONFIG_DVB_OCTONET=m CONFIG_DVB_CXD2843=m CONFIG_DVB_STV0910=m CONFIG_DVB_STV6111=m CONFIG_DVB_LNBH25=m CONFIG_DVB_MXL5XX=m CONFIG_DVB_NET=m
|
|
|
|
|
2015-08-05 17:22:42 +02:00
|
|
|
|
|
|
|
all:
|
|
|
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $(MODDEFS) modules
|
|
|
|
$(MAKE) -C apps
|
|
|
|
|
|
|
|
dep:
|
|
|
|
DIR=`pwd`; (cd $(TOPDIR); make SUBDIRS=$$DIR dep)
|
|
|
|
|
|
|
|
install: all
|
|
|
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
|
|
|
|
|
|
|
|
clean:
|
2017-07-26 02:42:35 +02:00
|
|
|
rm -rf */.*.o.d */*.o */*.ko */*.mod.c */.*.cmd .tmp_versions Module* modules*
|
2015-08-05 17:22:42 +02:00
|
|
|
|
|
|
|
|