Missing case for common source/object. Since the bug will have
resulted in an incomplete database, bump the version number to ensure
that any existing kbuild database is deleted and rebuilt correctly.
This fix will be in core-18.
diff -ur 2.5.20-kbuild-2.5/scripts/pp_db.h 2.5.20-kbuild-2.5.new/scripts/pp_db.h
--- 2.5.20-kbuild-2.5/scripts/pp_db.h Fri Jun 7 14:17:45 2002
+++ 2.5.20-kbuild-2.5.new/scripts/pp_db.h Fri Jun 7 14:11:58 2002
@@ -19,7 +19,7 @@
* for migrating a kbuild database from one version to another, rebuild the
* database from scratch.
*/
-#define DB_VERSION 8
+#define DB_VERSION 9
typedef struct ppdb PPDB;
typedef struct db_token DB_TOKEN;
diff -ur 2.5.20-kbuild-2.5/scripts/pp_makefile5.c 2.5.20-kbuild-2.5.new/scripts/pp_makefile5.c
--- 2.5.20-kbuild-2.5/scripts/pp_makefile5.c Fri Jun 7 14:17:45 2002
+++ 2.5.20-kbuild-2.5.new/scripts/pp_makefile5.c Fri Jun 7 14:10:56 2002
@@ -991,6 +991,8 @@
} else if (common_src_obj && *index == objtree_treename_index) {
s = read_db_source(db, token);
*index = s->index;
+ } else if (common_src_obj && *index == -1) {
+ *index = 0;
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/