Skip to contentSkip to conversation

kbuild fixes

GIT PULL Sam Ravnborg 1 participant 1 message Aug 4, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Linus.

Please pull the following two kconfig related fixes.

Sam

The following changes since commit 48a61569bb5396415c5dad0e81e1cfeb87c0aca3:
Adrian Bunk (1):
kbuild: scripts/ver_linux: don't set PATH

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes.git master

Sam Ravnborg (2):
kconfig: always write out .config
kconfig: drop the ""trying to assign nonexistent symbol" warning

 scripts/kconfig/conf.c     |    2 +-
 scripts/kconfig/confdata.c |    8 ++------
 2 files changed, 3 insertions(+), 7 deletions(-)
scripts/kconfig/conf.c +1 -1
index 9fba838..36b5eed 100644
@@ -596,7 +596,7 @@ int main(int ac, char **av)
 		break;
 	}
 
-	if (conf_get_changed() && conf_write(NULL)) {
+	if (conf_write(NULL)) {
 		fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
 		exit(1);
 	}
scripts/kconfig/confdata.c +2 -6
index 0759761..df6a188 100644
@@ -222,10 +222,8 @@ load:
 				continue;
 			if (def == S_DEF_USER) {
 				sym = sym_find(line + 9);
-				if (!sym) {
-					conf_warning("trying to assign nonexistent symbol %s", line + 9);
+				if (!sym)
 					break;
-				}
 			} else {
 				sym = sym_lookup(line + 9, 0);
 				if (sym->type == S_UNKNOWN)
@@ -261,10 +259,8 @@ load:
 			}
 			if (def == S_DEF_USER) {
 				sym = sym_find(line + 7);
-				if (!sym) {
-					conf_warning("trying to assign nonexistent symbol %s", line + 7);
+				if (!sym)
 					break;
-				}
 			} else {
 				sym = sym_lookup(line + 7, 0);
 				if (sym->type == S_UNKNOWN)