mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
220354bc78
This changes building ddbridge.ko and octonet.ko from including multiple C files right from the source code to building all of them separately into their own objects, and build the actual kernel module from these objects. Accomplished by: - rename of ddbridge.c to ddbridge-main.c and octonet. to octonet-main.c - rename of ddbridge-mod.c to ddbridge-modulator.c - add all C files to Kbuild and prepare Kbuild for this way of building the modules - add all neccessary annotations and includes
12 lines
685 B
Makefile
12 lines
685 B
Makefile
EXTRA_CFLAGS += -DCONFIG_DVB_CXD2843 -DCONFIG_DVB_LNBP21 -DCONFIG_DVB_STV090x -DCONFIG_DVB_STV6110x -DCONFIG_DVB_DRXK -DCONFIG_DVB_STV0910 -DCONFIG_DVB_STV6111 -DCONFIG_DVB_LNBH25 -DCONFIG_DVB_MXL5XX
|
|
|
|
ddbridge-objs := ddbridge-main.o ddbridge-core.o ddbridge-i2c.o ddbridge-modulator.o ddbridge-ns.o
|
|
octonet-objs := octonet-main.o ddbridge-core.o ddbridge-i2c.o ddbridge-modulator.o ddbridge-ns.o
|
|
|
|
obj-$(CONFIG_DVB_DDBRIDGE) += ddbridge.o
|
|
obj-$(CONFIG_DVB_OCTONET) += octonet.o
|
|
|
|
EXTRA_CFLAGS += -Idrivers/media/dvb/frontends -Idrivers/media/dvb-frontends
|
|
EXTRA_CFLAGS += -Idrivers/media/common/tuners
|
|
NOSTDINC_FLAGS += -I$(SUBDIRS)/frontends -I$(SUBDIRS)/include -I$(SUBDIRS)/dvb-core
|