Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EXTRA_CFLAGS += -I$(SRC)/xxxxx/managers/linxker -I$(SRC)/xxxxx/common -I$(SRC)/xxxxx/codec -I$(SRC)/xxxxx/peripheral
- EXTRA_CFLAGS += -I$(SRC)/xxxxx/buses/usb -I$(SRC)/xxxxx/buses/pcie -I$(SRC)/xxxxx/api/linux/inc
- CCOPT += -DQP_LINXKER
- CCOPT += -DQP_EVENT_TIME_DEBUG
- CCOPT += -DAME_xxxx1_xxxx2_xxxx3_xxxx4
- CCOPT += -DAME_xxxxx
- obj-m := xxxxx.o
- xxxxx-objs := LINUXV4L2.o property.o tw6805.o tw5864.o ite6603.o mst3367.o tlv320adc3101.o xxxxx.o it1412.o
- xxxxx-objs += xxxxx/codec/qlcodeclib.o
- xxxxx-objs += xxxxx/codec/cqlcodeclib.o
- xxxxx-objs += xxxxx/codec/peripherals.o
- xxxxx-objs += xxxxx/codec/cqlcodec.o
- xxxxx-objs += xxxxx/codec/hci.o
- xxxxx-objs += xxxxx/codec/fwencapi.o
- xxxxx-objs += xxxxx/codec/ctask.o
- xxxxx-objs += xxxxx/codec/cmpgcodec.o
- xxxxx-objs += xxxxx/codec/cdecodertask.o
- xxxxx-objs += xxxxx/codec/cencodertask.o
- xxxxx-objs += xxxxx/codec/fwcodecapi.o
- xxxxx-objs += xxxxx/codec/cchannel.o
- xxxxx-objs += xxxxx/codec/fwapi.o
- xxxxx-objs += xxxxx/codec/fwdecapi.o
- xxxxx-objs += xxxxx/codec/irq.o
- xxxxx-objs += xxxxx/peripheral/ctvaudio.o
- #xxxxx-objs += xxxxx/peripheral/cov10633.o
- #xxxxx-objs += xxxxx/peripheral/cov7720.o
- #xxxxx-objs += xxxxx/peripheral/cadv7614.o
- #xxxxx-objs += xxxxx/peripheral/csil9011.o
- xxxxx-objs += xxxxx/peripheral/ci2c.o
- xxxxx-objs += xxxxx/peripheral/ctuner.o
- xxxxx-objs += xxxxx/peripheral/cvidencoder.o
- #xxxxx-objs += xxxxx/peripheral/cpe1005.o
- #xxxxx-objs += xxxxx/peripheral/cvidinputusbfw.o
- #xxxxx-objs += xxxxx/peripheral/cadi7393.o
- #xxxxx-objs += xxxxx/peripheral/cit6603.o
- #xxxxx-objs += xxxxx/peripheral/csil9030.o
- #xxxxx-objs += xxxxx/peripheral/csil9025.o
- #xxxxx-objs += xxxxx/peripheral/csaa7128.o
- #xxxxx-objs += xxxxx/peripheral/cvidinputauto1.o
- #xxxxx-objs += xxxxx/peripheral/ctvp7002.o
- #xxxxx-objs += xxxxx/peripheral/cadi9889.o
- xxxxx-objs += xxxxx/peripheral/caudcodec.o
- xxxxx-objs += xxxxx/peripheral/cviddecoder.o
- #xxxxx-objs += xxxxx/peripheral/cov5642.o
- #xxxxx-objs += xxxxx/peripheral/cadi7441.o
- #xxxxx-objs += xxxxx/peripheral/cadi7401.o
- #xxxxx-objs += xxxxx/peripheral/cmt9v112.o
- #xxxxx-objs += xxxxx/peripheral/cmi2010.o
- #xxxxx-objs += xxxxx/peripheral/csil9034.o
- #xxxxx-objs += xxxxx/peripheral/csaa7115.o
- #xxxxx-objs += xxxxx/peripheral/cfm31.o
- #xxxxx-objs += xxxxx/peripheral/ctvp7002vh.o
- #xxxxx-objs += xxxxx/peripheral/ctw9910.o
- xxxxx-objs += xxxxx/buses/usb/cusbcntl.o
- xxxxx-objs += xxxxx/buses/usb/linux/cqpusbintf.o
- xxxxx-objs += xxxxx/buses/pcie/linux/cpciecntl.o
- xxxxx-objs += xxxxx/buses/pcie/linux/qlpciintf.o
- xxxxx-objs += xxxxx/managers/qposmgr.o
- xxxxx-objs += xxxxx/managers/qposmgrlinxker.o
- xxxxx-objs += xxxxx/managers/qppfmgr.o
- xxxxx-objs += xxxxx/managers/qpmemmgr.o
- xxxxx-objs += xxxxx/managers/qpmemmgrlinxker.o
- xxxxx-objs += xxxxx/managers/qpmgrspriv.o
- xxxxx-objs += xxxxx/managers/audiofwstonegatedummy.o
- xxxxx-objs += xxxxx/managers/qpdbgmgr.o
- xxxxx-objs += xxxxx/managers/qptimemgrlinxker.o
- xxxxx-objs += xxxxx/managers/videofwdummy.o
- xxxxx-objs += xxxxx/managers/qptimemgr.o
- xxxxx-objs += xxxxx/managers/videofwartesadummy.o
- xxxxx-objs += xxxxx/managers/audiofwdummy.o
- xxxxx-objs += xxxxx/managers/videofwstonegatedummy.o
- xxxxx-objs += xxxxx/managers/audiofwartesadummy.o
- xxxxx-objs += xxxxx/util/cfifo.o
- xxxxx-objs += xxxxx/util/util.o
- xxxxx-objs += xxxxx/util/cqueue.o
- xxxxx-objs += xxxxx/util/cobject.o
- xxxxx-objs += xxxxx/util/cobjectmgr.o
- xxxxx-objs += xxxxx/util/cthread.o
- xxxxx-objs += xxxxx/api/linux/plv4ldev/qplinuxkermap.o
- endif
- EXTRA_CFLAGS += $(CCOPT)
- EXTRA_LDFLAGS += -S
- KERNEL_VERSION := $(shell uname -r)
- #KERNEL_DIR ?= /lib/modules/$(shell uname -r)/build
- PWD := $(shell pwd)
- all: install
- version.h: version.h.in
- ifndef VERSION
- sed "s/@VERSION@/1/" version.h.in > version.h
- else
- sed "s/@VERSION@/$(VERSION)/" version.h.in > version.h
- endif
- install:
- @echo "Linux V4L2 Device Driver - Installing ..."
- @echo $(KERNEL_SRC)
- @echo $(KERNEL_DIR)
- @echo $(PWD)
- $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install
- clean:
- @echo " Linux V4L2 Device Driver - Cleaning ..."
- $(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement