diff options
author | icarus sparry <icarus.w.sparry@intel.com> | 2014-11-10 14:34:21 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-12 23:08:17 +0000 |
commit | 27367a07c923c778941a5c1a0635e1694d51030a (patch) | |
tree | 8615cad735f38cbbb43f210feaf7f5a9703a4467 /Makefile.rules | |
parent | 3bcc5673c9f3c1d82eee491b29befaeb5bd0bd1a (diff) | |
download | chrome-ec-27367a07c923c778941a5c1a0635e1694d51030a.tar.gz |
Strago: Automated build to generate ec.spi.bin.
Add another variable PROJECT_EXTRA which chips and boards can use to
add additional prerequisites to the default all target
Add rules for creating ec.spi.bin to package the ec firmware for
strago
BUG=None
BRANCH=None
TEST=Tested on Braswell Ref Design Board
Signed-off-by: Divya Jyothi <divya.jyothi@intel.com>
Signed-off-by: icarus sparry <icarus.w.sparry@intel.com>
Change-Id: I4fb9f1275dc5bc2987b6abf5d45b0baf363c0d7a
Reviewed-on: https://chromium-review.googlesource.com/226305
Reviewed-by: Vic Yang <victoryang@chromium.org>
Reviewed-by: Icarus W Sparry <icarus.w.sparry@intel.com>
Commit-Queue: Icarus W Sparry <icarus.w.sparry@intel.com>
Tested-by: Icarus W Sparry <icarus.w.sparry@intel.com>
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 3a1b415ad3..2c6cd7b4cd 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -151,6 +151,10 @@ $(out)/%.bin: $(out)/%.obj $(call quiet,copyrw-y,COPY_RW)) $(call quiet,mv_from_tmp,MV ) +# Beware of ec.spi.spi.bin. +$(out)/%.spi.bin: $(out)/%.bin + $(call quiet,pack_package,PACK ) + flat-y = $(out)/$(PROJECT).RO.flat $(out)/$(PROJECT).RW.flat $(out)/%.obj: common/firmware_image.S $(out)/firmware_image.lds $(flat-y) |