summaryrefslogtreecommitdiff
path: root/linux/picker.c
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2003-04-17 18:44:38 +0000
committerDavid Dawes <dawes@xfree86.org>2003-04-17 18:44:38 +0000
commitdbb7beb51d8adb4b5616fbcca7999b00d760b839 (patch)
treeb52e43d8a969e4a9c2e830dfdbb1c780d786d19c /linux/picker.c
parentc2d7ff1bf98f92add98fb76b63d2bdb190f3cf2c (diff)
Rework the Linux drm kernel module build to leverage off the standard
kernel build system. This is based on suggestions and examples from David Woodhouse. This approach has the advantage that the build requirements of a wider range of standard kernels are now supported transparently, but the disadvantage of some extra complexity to handle building against clean vendor-distributed kernel source trees. This has been tested with some recent Red Hat and SuSE distributions.
Diffstat (limited to 'linux/picker.c')
-rw-r--r--linux/picker.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/linux/picker.c b/linux/picker.c
deleted file mode 100644
index 6c228dfc..00000000
--- a/linux/picker.c
+++ /dev/null
@@ -1,30 +0,0 @@
-
-#include <linux/config.h>
-#include <linux/version.h>
-
-#ifndef CONFIG_SMP
-#define CONFIG_SMP 0
-#endif
-
-#ifndef CONFIG_MODULES
-#define CONFIG_MODULES 0
-#endif
-
-#ifndef CONFIG_MODVERSIONS
-#define CONFIG_MODVERSIONS 0
-#endif
-
-#ifndef CONFIG_AGP_MODULE
-#define CONFIG_AGP_MODULE 0
-#endif
-
-#ifndef CONFIG_AGP
-#define CONFIG_AGP 0
-#endif
-
-SMP = CONFIG_SMP
-MODULES = CONFIG_MODULES
-MODVERSIONS = CONFIG_MODVERSIONS
-AGP = CONFIG_AGP
-AGP_MODULE = CONFIG_AGP_MODULE
-RELEASE = UTS_RELEASE