diff options
author | Michael Ryleev <gmar@google.com> | 2014-04-24 17:22:26 -0700 |
---|---|---|
committer | Michael Ryleev <gmar@google.com> | 2015-05-18 15:48:07 -0700 |
commit | 8bdda83080012cb48871a785d671f77eb3a5275f (patch) | |
tree | 6b139c1ee3f02890750bb5fa8136e1a85220eb88 | |
parent | e1fd9cb6e85b102d2ca0fb38fb5017e237d40e7f (diff) | |
download | vexpress-a15-8bdda83080012cb48871a785d671f77eb3a5275f.tar.gz |
[vexpress-a15-trusty] Update project for new build system
Change-Id: I7beec2164ea8426d4fa69d398807b41539bd06a5
-rw-r--r-- | project/vexpress-a15-trusty.mk | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/project/vexpress-a15-trusty.mk b/project/vexpress-a15-trusty.mk index aba78d9..3e9f71f 100644 --- a/project/vexpress-a15-trusty.mk +++ b/project/vexpress-a15-trusty.mk @@ -17,17 +17,9 @@ LOCAL_DIR := $(GET_LOCAL_DIR) TARGET := vexpress-a15 -MODULES += \ - lib/sm \ - lib/trusty \ - app/tests \ - -USER_TASKS := sample/skel -USER_TASKS += sample/skel2 - -USER_TASK_LINKER_SCRIPT := $(BUILDDIR)/user_task-trusty.ld -USER_TASK_CRTBEGIN_OBJS := $(BUILDDIR)/user/crtbegin.o -USER_TASK_CRTEND_OBJS := $(BUILDDIR)/user/crtend.o +# +# GLOBAL definitions +# # force enums to be 4bytes GLOBAL_CFLAGS += -mabi=aapcs-linux @@ -35,3 +27,24 @@ GLOBAL_CFLAGS += -mabi=aapcs-linux GLOBAL_DEFINES += \ WITH_MMU_RELOC=1 \ WITH_LIB_SM_MONITOR=1 + +# +# Modules to be compiled into lk.bin +# +MODULES += \ + lib/sm \ + lib/trusty \ + +# +# user tasks to be compiled into lk.bin +# + +# prebuilt +TRUSTY_PREBUILT_USER_TASKS := + +# compiled from source +TRUSTY_ALL_USER_TASKS := \ + sample/skel \ + sample/skel2\ + +EXTRA_BUILDRULES += make/trusty-user-tasks.mk |