%% Boris Kolpackov <[EMAIL PROTECTED]> writes: bk> "Paul D. Smith" <[EMAIL PROTECTED]> writes: >> %% Will Partain <[EMAIL PROTECTED]> writes: >> wp> Hi; I don't know if the little Makefile below *ought* to wp> work or not; it seems it should. >> >> No. define/endef is not supported directly in kernel-specific >> variables. The entire definition must fit onto one logical line.
bk> BTW, do you see any reason why it couldn't be done other than bk> nobody just needed it until now? I don't see any reason technically that it couldn't be done. The parser would need to be massaged somewhat. I can't remember whether the function that parses define/endef also creates the variable, or whether it just returns a string containing the value and the caller creates the variable; if the former it should be pretty simple. If the latter a bit less tidy. Offhand I'd guess it's the latter. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make