source: tools/oebuild/data/pti_np/Makefile @ 45168

Last change on this file since 45168 was 45168, checked in by obi, 19 months ago

add oebuild building files

  • Property svn:executable set to *
File size: 894 bytes
Line 
1TREE_ROOT?=$(DRIVER_TOPDIR)
2CONFIG_STGFB_PATH?=$(DRIVER_TOPDIR)/stgfb/stmfb
3CCFLAGSY += -I$(KERNEL_LOCATION)/drivers/media/dvb/dvb-core
4CCFLAGSY += -I$(CONFIG_STGFB_PATH)/include
5CCFLAGSY += -DDEBUG_DVB
6CCFLAGSY += -I$(TREE_ROOT)/include
7CCFLAGSY += -I$(TREE_ROOT)/player2/linux/drivers/media
8CCFLAGSY += -I$(TREE_ROOT)/player2/linux/include
9CCFLAGSY += -I$(TREE_ROOT)/player2/player/standards
10CCFLAGSY += -I$(TREE_ROOT)/player2/linux/drivers/media/dvb/stm/backend
11CCFLAGSY += -O2
12
13ifeq ($(CONFIG_PLAYER_191),y)
14CCFLAGSY+= -DPLAYER_191
15else ifeq ($(CONFIG_PLAYER_228),y)
16CCFLAGSY+= -DPLAYER_228
17else ifeq ($(CONFIG_PLAYER_XXX),y)
18CCFLAGSY+= -DPLAYER_XXX
19endif
20
21ifneq (,$(findstring 2.6.3,$(KERNELVERSION)))
22ccflags-y += $(CCFLAGSY)
23endif
24
25pti-objs:= \
26        pti_main.o \
27        pti_session.o \
28        pti_slot.o \
29        pti_buffer.o \
30        pti_hal.o \
31        pti_descrambler.o \
32        pti_process.o \
33        pti_filter.o
34
35obj-m += pti.o
Note: See TracBrowser for help on using the repository browser.