⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.mk

📁 神龙解压卡Linux下的完整开发包,绝对是超值超值超值
💻 MK
字号:
# Feature variants of realmagichwl_kernelland.o are done using # export REALMAGICHWL_FEATURES=... from the shell, as a collection of:# -DWITH_PROGRESSIVE_YUV     (displaying YUV pictures in progressive mode - requires to overclock Q4 -)# -DWITH_8MB_AND_OVER        (support for em8485 with 8/16 MB)# -DWITH_LOGGING=1           (logging for developers)# -DWITH_PROC=1              (/proc/realmagichwl interface)# -DWITH_PCI=1               (support for PCI based probing)# -DWITH_DOLBY=1             (support for hardware AC3 audio decoding)# -DWITH_CSS=1               (support for hardware CSS)# -DWITH_MACROVISION=1       (support for hardware macrovision)# -DWITH_SM2288=1            (support for local bus controlled SM2288 encoder)# -DWITH_SM2288_DMATASKLET=1 (scheduling a tasklet for the DMA xfer)# -DWITH_SM2288_DIAG=1       (support for SM2288 diagnosis ucode)# -DWITH_SM2288_CHECKSUM=1   (trap corruption of SM2288 generated stream across copies by logging checksums)# -DWITH_CHECK_OSD_RLC=1     (checks that rlc does not overflow osd buffer)# to use none of these do: export REALMAGICHWL_FEATURES=" "#ifndef REALMAGICHWL_FEATURES# don't modify these defaults, it _must_ build on stock RedHat7.3# MAKE DOES NOT REQUIRE DOUBLE QUOTES, THE SHELL DOES!!!REALMAGICHWL_FEATURES=-DWITH_8MB_AND_OVER=1 -DWITH_PROGRESSIVE_YUV=1 -DWITH_LOGGING=1 -DWITH_PROC=1 -DWITH_PCI=1 -DWITH_DOLBY=1 -DWITH_CSS=1 -DWITH_MACROVISION=1 -DWITH_SM2288=1 -DWITH_CHECK_OSD_RLC=1endif# Alternate kernel includes (k.i.) or debug options are passed using# export REALMAGICHWL_KI=...# -I/the/place/where/I/built/my/linux-2.4.18/include    (alternate kernel)# -I/usr/src/linux-2.4.10/include -g (2.4.10 kgdb)#ifndef REALMAGICHWL_KI# default is to try to build for current running kernel (uname -r), # provided the sources of this kernel are in /usr/src# the second entry is a useful fallback for RH7.2 RH7.3 RH8.0 for SMPREALMAGICHWL_KI=-I/usr/src/linux-$(shell uname -r)/include -I/usr/src/linux-2.4/includeendif# Exotic kernels can override this:ifndef KERNELSTYLE# don't modify these defaults, it _must_ build on stock RedHat7.3KERNELSTYLE= \	-fomit-frame-pointer \	-fno-strict-aliasing \	-fno-common \	-pipe \	-mpreferred-stack-boundary=2 \	-DEXPORT_SYMTABendififeq ($(findstring -DWITH_LOGGING=1, $(REALMAGICHWL_FEATURES)), -DWITH_LOGGING=1)CFLAGS +=  -OelseCFLAGS += -O2endififeq ($(findstring -DWITH_PROGRESSIVE_YUV=1, $(REALMAGICHWL_FEATURES)), -DWITH_PROGRESSIVE_YUV=1)CFLAGS += -DSONY_WEGA_SPECIALendifHWLINCLUDE = -I$(HWLINCLUDE_LOCATION)/include \	-I$(HWLINCLUDE_LOCATION)/include/qhwinc \	-I$(HWLINCLUDE_LOCATION)/include/qhwinc/boardh \	-I$(HWLINCLUDE_LOCATION)/include/qhwinc/decoderh \	-I$(HWLINCLUDE_LOCATION)/include/qhwinc/tvench \	-I$(HWLINCLUDE_LOCATION)/include/iface \	-I$(HWLINCLUDE_LOCATION)/include/os \	-I$(HWLINCLUDE_LOCATION)/ucode \	-I$(HWLINCLUDE_LOCATION)WAR += -Wno-import \	-Wunused \	-Wimplicit \	-Wmain \	-Wreturn-type \	-Wswitch \	-Wtrigraphs \	-Wchar-subscripts \        -Wuninitialized \	-Wparentheses \	-Wpointer-arith \        -Wcast-align \	-fcheck-new CFLAGS += $(KERNELSTYLE) $(WAR) $(REALMAGICHWL_FEATURES) $(REALMAGICHWL_KI) $(HWLINCLUDE)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -