There are cases where rules.h can be pulled in, but the usage is not associated with a particular stage. For example, the cpu/ti/am335x build creates an opmap header. That is a case where there is no stage associated with the process. Therefore, provide a case of no ENV_>STAGE> being set.
BUG=chrome-os-partner:44827 BRANCH=None TEST=Built a myriad of boards. Analyzed readelf output.
Change-Id: Ia9688886d445c961f4a448fc7bfcb28f691609db
cd96c5c rules.h: add fall through where no ENV_is set
src/include/rules.h | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
Upstream: review.coreboot.org