mirror of https://github.com/mpv-player/mpv
Build tdfx_vid.o and tdfx_vid_tst by default under Linux 2.4.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22673 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2cdfe69f79
commit
f8f7b06cbf
|
@ -7,13 +7,13 @@ MDIR = /lib/modules/$(VERSION)/misc
|
|||
ifneq (,$(findstring 2.6, $(VERSION)))
|
||||
MGA_VID_OBJ = mga_vid.ko
|
||||
CFLAGS = -O2 -D__KERNEL__ -DMODULE $(INCLUDES) -Wall -include $(KERNEL_INCLUDES)/config/modversions.h
|
||||
all: $(MGA_VID_OBJ) mga_vid_test
|
||||
else
|
||||
MGA_VID_OBJ = mga_vid.o
|
||||
CFLAGS = -O2 -D__KERNEL__ -DMODULE $(INCLUDES) -Wall -include $(KERNEL_INCLUDES)/linux/modversions.h
|
||||
all: $(MGA_VID_OBJ) mga_vid_test tdfx_vid.o tdfx_vid_tst
|
||||
endif
|
||||
|
||||
all: $(MGA_VID_OBJ) mga_vid_test
|
||||
|
||||
mga_vid.o: mga_vid.c mga_vid.h
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
|
|
Loading…
Reference in New Issue