David Melik wrote:
(Perhaps 'payload' should be in $target in the first place.)
Config.lb is used to build several Makefiles and they are in further subdirectories of target/vendor/board/dir/
It is easy and reliable to use an absolute path to the payload.
v2 is like this. v3 uses Kconfig for configuration and a special file format (LAR) with a tool (lar) for adding files into the final coreboot.rom file.
//Peter