Am 21.11.2009 20:21, schrieb Peter Stuge:
It's common to guard x in each use with () I guess in order to avoid ordering issues if x isn't a simple number.
Fixed
Maybe name UNLINK() something else to show that it's not always being done?
UNLINK_IF_NECESSARY, then.
It worked so far, and that part of the line didn't change. I'll test a bit more.+ awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@This assumes that the macro expansion will never contain whitespace - is that true? If not, I suggest:
Acked-by: Peter Stuge<[email protected]>
Thanks, r4952 Patrick -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

