view drivers/radeon/Makefile @ 3164:3c5ad8d5ac00

radeon_vid new features: - tested UYVY format and known as working - YV12, I420, IYUV direct support (were missed: p23_blank_lines_at_top, p23_v_accum_init in radeon_vid_display_video - good info for Y800 support ;) - experimental support for Rage128/Rage128Pro chips
author nick
date Tue, 27 Nov 2001 18:36:02 +0000
parents f46c5556f1e6
children 6f6c1bd1a682
line wrap: on
line source

KERNEL_INCLUDES = /usr/src/linux/include
INCLUDES = -I$(KERNEL_INCLUDES)

#
# standard CFLAGS
#

CPPFLAGS := -D__KERNEL__ -I$(KERNEL_INCLUDES)

CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
	-fomit-frame-pointer -fno-strict-aliasing -fno-common\
	-D__KERNEL__  -DMODULE  -include $(KERNEL_INCLUDES)/linux/modversions.h
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)


all: radeonfb.o radeon_vid.o rage128_vid.o

radeonfb.o: radeonfb.c radeon.h
	$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
radeon_vid.o: radeon_vid.c radeon.h radeon_vid.h
	$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
rage128_vid.o: radeon_vid.c radeon.h radeon_vid.h
	$(CC) $(CFLAGS) -DRAGE128 $(INCLUDES) -c radeon_vid.c -o $@

dep:

clean: 
	rm -f *.o *~

install:
	@echo Please copy *.o files to '/lib/modules/LINUX_VER/kernel/drivers/video' folder