This patch fixes an issue with the wrong build rules being selected.
Make is free to choose any fitting rule for a target, and so some 
obj-y files were compiled with initobj flags. This patch also fixes
the behavior for objects being both in initobj and obj.

At the moment all object rules are the same, but if we start not including
all .c files in romstage.c anymore we need to define __PRE_RAM__ in the 
initobj rule and that's when things start breaking.

Signed-off-by: Patrick Georgi <>
Acked-by: Stefan Reinauer <>

git-svn-id: svn:// 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
3 files changed
tree: 5b68769c74ef9c1740db4d0eac372eb56ef1dcc2
  1. documentation/
  2. payloads/
  3. src/
  4. util/
  6. Makefile