[pkg-nvidia-devel] Bug#446232: Bug#446232: nvidia-graphics-drivers: Integration into linux-modules-nonfree-2.6
Daniel Baumann
daniel at debian.org
Fri Feb 8 19:20:28 UTC 2008
Randall Donald wrote:
> Is there a specific target that is looked for in the Makefile? I've
> tried a few things but I can't get it to build.
i had a look at it. your Makefile is a rules files, rather than a kernel
module makefile. you'll find the information you require at the end of
this message:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464457#50
and by looking e.g. at the squashfs Makefile:
---snip---
# Makefile
CONFIG_SQUASHFS=m
EXTRA_CFLAGS := -DCONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 -I/usr/include \
-DUnsquashNoPreempt
obj-$(CONFIG_SQUASHFS) += squashfs.o
squashfs-y += inode.o
squashfs-y += squashfs2_0.o
all:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
clean:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
---snap---
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann at panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
More information about the Pkg-nvidia-devel
mailing list