diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-01-25 21:47:20 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-01-25 22:50:07 +0000 |
commit | cf9fcef328900ae4460755cca01ec46e98b01732 (patch) | |
tree | 19e56762b6daa2b3abb2a2d2235d72dd417b3ed3 /Makefile | |
parent | 645dad5d3f658d7c5e0d54453964e91afe7b43c0 (diff) | |
download | chrome-ec-cf9fcef328900ae4460755cca01ec46e98b01732.tar.gz |
Move OS files to a CPU specific directory
Preparatory work to introduce a second SoC : 3/5
We split the drivers files which contain SoC specific drivers from the
OS files which only depend the actual CPU core.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=run EC firmware on BDS and test a few commands on the console.
Change-Id: I598f8b23e074da9bd6b0e2ce6689c1075fe854f0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,6 +28,7 @@ CPPFLAGS+=$(foreach t,$(_tsk_cfg),-D$(t)) # Get build configuration from sub-directories include board/$(BOARD)/build.mk include chip/$(CHIP)/build.mk +include core/$(CORE)/build.mk include common/build.mk include test/build.mk include util/build.mk @@ -35,11 +36,12 @@ include util/build.mk objs_from_dir=$(foreach obj,$(2), $(out)/$(1)/$(obj)) # Get all sources to build -all-y=$(call objs_from_dir,chip/$(CHIP),$(chip-y)) +all-y=$(call objs_from_dir,core/$(CORE),$(core-y)) +all-y+=$(call objs_from_dir,chip/$(CHIP),$(chip-y)) all-y+=$(call objs_from_dir,board/$(BOARD),$(board-y)) all-y+=$(call objs_from_dir,common,$(common-y)) all-y+=$(call objs_from_dir,test,$($(PROJECT)-y)) -dirs=chip/$(CHIP) board/$(BOARD) common test util +dirs=core/$(CORE) chip/$(CHIP) board/$(BOARD) common test util includes=include $(dirs) include Makefile.rules |