Re: [kbuild bug] /bin/sh: -c: line 0: syntax error near unexpected token `;'

From: Andreas Schwab
Date: Sat Sep 08 2012 - 08:00:19 EST


Fengguang Wu <fengguang.wu@xxxxxxxxx> writes:

> /usr/bin/make -f /c/kernel-tests/src/next/scripts/Makefile.modbuiltin obj=arch/ia64/kvm

The problem is that Makefile.modbuiltin is executed before
Makefile.build has been executed in arch/ia64/kvm, and the rule in
arch/ia64/kvm/Makefile uses cmd_cc_s_c which is only defined in
Makefile.build.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/