]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-autoconf.h
- now on HEAD
[packages/kernel.git] / kernel-autoconf.h
diff --git a/kernel-autoconf.h b/kernel-autoconf.h
new file mode 100644 (file)
index 0000000..ca46a29
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef __pld_kernel_autoconf_h__
+#define __pld_kernel_autoconf_h__
+
+/*
+ * Define some nasty macros o we can construct the file names
+ * we want to include
+ */
+
+#if defined(__pld_autoconf_included_file__)
+#undef __pld_autoconf_included_file__
+#endif /* __pld_autoconf_included_file__ */
+
+#if defined(__KERNEL_SMP)
+#include <linux/autoconf-smp.h>
+#define __pld_autoconf_included_file__ 1
+#endif /* __KERNEL_SMP */
+
+#if !defined(__pld_autoconf_included_file__)
+#include <linux/autoconf-up.h>
+#else
+#undef __pld_autoconf_included_file__
+#endif /* __pld_autoconf_included_file__ */
+
+#endif /* __pld_kernel_autoconf_h__ */
This page took 0.028713 seconds and 4 git commands to generate.