# ---------------------------------------------------------------------------
init-y := init/
-drivers-y := drivers/ sound/ suse/
+drivers-y := drivers/ sound/ rpmify/
net-y := net/
libs-y := lib/
core-y := usr/
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
config X86_SMP
bool
source "crypto/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "crypto/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
endmenu
-source "suse/Kconfig"
+source "rpmify/Kconfig"
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
#############################################################################
source "lib/Kconfig"
-source "suse/Kconfig"
+source "rpmify/Kconfig"
--- /dev/null
+#
+# Build options
+#
+
+menu "Build options"
+
+config SUSE_KERNEL
+ bool
+ default y
+
+config PROC_CONFIG
+ bool
+ default y
+
+config CONFIG_CFGNAME
+ string "Configuration name"
+ default ""
+ help
+ The name of the kernel configuration used. The configuration
+ files provided in arch/$ARCH/defconfig.$CFGNAME set the
+ CONFIG_CFGNAME option to $CFGNAME. The configuration name is
+ part of the EXTRAVERSION.
+
+config CONFIG_RELEASE
+ int "Release number"
+ default 0
+ help
+ The release number of the kernel sources. The configuration
+ files provided in arch/$ARCH/defconfig.$CFGNAME set the
+ CONFIG_RELEASE option to the RPM release number of the
+ kernel source package. The release number of the kernel
+ sources and of all binary kernel packages built from those
+ sources should be the same. The release number is part of
+ the EXTRAVERSION.
+
+endmenu
--- /dev/null
+
+obj-$(CONFIG_PROC_CONFIG) = config_gz.o
+
+CLEAN_FILES += config_gz.h
+
+rpmify/config_gz.h: .config
+ gzip -c $< | hexdump -v -e '1/1 "0x%02x,"' > $@
+ echo >> $@ # make gcc 3.x happy
+
+rpmify/config_gz.o: rpmify/config_gz.c rpmify/config_gz.h
--- /dev/null
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/proc_fs.h>
+
+/* ----------------------------------------------------------------------------- */
+
+static char kernel_config_data[] = {
+#include "config_gz.h"
+};
+
+static int config_read_proc(char *page, char **start, off_t off,
+ int count, int *eof, void *data)
+{
+ int len = ARRAY_SIZE(kernel_config_data);
+ if (len <= off+count)
+ *eof = 1;
+ *start = page;
+ len -= off;
+ if (len > count)
+ len = count;
+ if (len < 0)
+ len = 0;
+ memcpy(page,kernel_config_data+off,len);
+ return len;
+}
+
+static int __init config_init(void)
+{
+ create_proc_read_entry("config.gz", 0, NULL, config_read_proc, NULL);
+ return 0;
+}
+
+static void __exit config_fini(void)
+{
+ remove_proc_entry("config.gz", NULL);
+}
+
+module_init(config_init);
+module_exit(config_fini);
+++ /dev/null
-#
-# Build options
-#
-
-menu "Build options"
-
-config SUSE_KERNEL
- bool
- default y
-
-config PROC_CONFIG
- bool
- default y
-
-config CONFIG_CFGNAME
- string "Configuration name"
- default ""
- help
- The name of the kernel configuration used. The configuration
- files provided in arch/$ARCH/defconfig.$CFGNAME set the
- CONFIG_CFGNAME option to $CFGNAME. The configuration name is
- part of the EXTRAVERSION.
-
-config CONFIG_RELEASE
- int "Release number"
- default 0
- help
- The release number of the kernel sources. The configuration
- files provided in arch/$ARCH/defconfig.$CFGNAME set the
- CONFIG_RELEASE option to the RPM release number of the
- kernel source package. The release number of the kernel
- sources and of all binary kernel packages built from those
- sources should be the same. The release number is part of
- the EXTRAVERSION.
-
-endmenu
+++ /dev/null
-
-obj-$(CONFIG_PROC_CONFIG) = config_gz.o
-
-CLEAN_FILES += config_gz.h
-
-suse/config_gz.h: .config
- gzip -c $< | hexdump -v -e '1/1 "0x%02x,"' > $@
- echo >> $@ # make gcc 3.x happy
-
-suse/config_gz.o: suse/config_gz.c suse/config_gz.h
+++ /dev/null
-
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/proc_fs.h>
-
-/* ----------------------------------------------------------------------------- */
-
-static char kernel_config_data[] = {
-#include "config_gz.h"
-};
-
-static int config_read_proc(char *page, char **start, off_t off,
- int count, int *eof, void *data)
-{
- int len = ARRAY_SIZE(kernel_config_data);
- if (len <= off+count)
- *eof = 1;
- *start = page;
- len -= off;
- if (len > count)
- len = count;
- if (len < 0)
- len = 0;
- memcpy(page,kernel_config_data+off,len);
- return len;
-}
-
-static int __init config_init(void)
-{
- create_proc_read_entry("config.gz", 0, NULL, config_read_proc, NULL);
- return 0;
-}
-
-static void __exit config_fini(void)
-{
- remove_proc_entry("config.gz", NULL);
-}
-
-module_init(config_init);
-module_exit(config_fini);