diff options
Diffstat (limited to 'security/tf_driver/Makefile')
-rw-r--r-- | security/tf_driver/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/security/tf_driver/Makefile b/security/tf_driver/Makefile new file mode 100644 index 00000000000..dfadb7d9740 --- /dev/null +++ b/security/tf_driver/Makefile | |||
@@ -0,0 +1,36 @@ | |||
1 | # | ||
2 | # Copyright (c) 2006-2010 Trusted Logic S.A. | ||
3 | # All Rights Reserved. | ||
4 | # | ||
5 | # This program is free software; you can redistribute it and/or | ||
6 | # modify it under the terms of the GNU General Public License as | ||
7 | # published by the Free Software Foundation; either version 2 of | ||
8 | # the License, or (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | # GNU General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
18 | # MA 02111-1307 USA | ||
19 | # | ||
20 | |||
21 | # debug options | ||
22 | #EXTRA_CFLAGS += -O0 -DDEBUG -D_DEBUG -DCONFIG_TF_DRIVER_DEBUG_SUPPORT | ||
23 | EXTRA_CFLAGS += -DNDEBUG | ||
24 | EXTRA_CFLAGS += -DLINUX -DCONFIG_TF_TRUSTZONE -DCONFIG_TFN | ||
25 | |||
26 | ifdef S_VERSION_BUILD | ||
27 | EXTRA_CFLAGS += -DS_VERSION_BUILD=$(S_VERSION_BUILD) | ||
28 | endif | ||
29 | |||
30 | tf_driver-objs += tf_util.o | ||
31 | tf_driver-objs += tf_conn.o | ||
32 | tf_driver-objs += tf_device.o | ||
33 | tf_driver-objs += tf_comm.o | ||
34 | tf_driver-objs += tf_comm_tz.o | ||
35 | |||
36 | obj-$(CONFIG_TRUSTED_FOUNDATIONS) += tf_driver.o | ||