Updated patches after feedback from Stefan:
20091230-2-romcc-ignore-unused-includes: (was already in the older patch): make romcc define __PRE_RAM__
romcc doesn't like #ifdef'd out #include statements that are bogus, like: #ifdef FOO #include FOO #endif FOO It complains about the "#include " line if FOO is undefined, and in the older patch I worked around it. Make romcc ignore #include lines that shouldn't be loaded anyway.
20091230-3-amdfam10-should-not-work-in-topdir: $(CURDIR) in Kconfig is always the top level directory. use $(obj) instead.
20091230-4-kconfig-enable_rom-and-fam10 All the other stuff from the original patch, changed to make use of the fixed #include behaviour (eliminates a file, and two config variables).
Build tested with qemu and serengeti_cheetah_fam10.
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de
Patrick