diff mbox

[06/12,v8] target-tilegx: Add TILE-Gx building files

Message ID BLU436-SMTP2581AEF0BEAF108DC8BF9B90F0@phx.gbl
State New
Headers show

Commit Message

Chen Gang March 21, 2015, 10:23 a.m. UTC
Add related configuration, make files for tilegx.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 configure                             | 3 +++
 default-configs/tilegx-linux-user.mak | 1 +
 target-tilegx/Makefile.objs           | 1 +
 3 files changed, 5 insertions(+)
 create mode 100644 default-configs/tilegx-linux-user.mak
 create mode 100644 target-tilegx/Makefile.objs

Comments

Richard Henderson March 23, 2015, 3:06 p.m. UTC | #1
On 03/21/2015 03:23 AM, Chen Gang wrote:
> Add related configuration, make files for tilegx.
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
>  configure                             | 3 +++
>  default-configs/tilegx-linux-user.mak | 1 +
>  target-tilegx/Makefile.objs           | 1 +


You need to move this patch after 10/12, so that every patch is buildable.
Otherwise this is a fairly good split of patches.


r~
Chen Gang March 23, 2015, 11:13 p.m. UTC | #2
On 3/23/15 23:06, Richard Henderson wrote:
> On 03/21/2015 03:23 AM, Chen Gang wrote:
>> Add related configuration, make files for tilegx.
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
>> ---
>>  configure                             | 3 +++
>>  default-configs/tilegx-linux-user.mak | 1 +
>>  target-tilegx/Makefile.objs           | 1 +
> 
> 
> You need to move this patch after 10/12, so that every patch is buildable.
> Otherwise this is a fairly good split of patches.
>

OK, thanks. I shall send patch v9 for it within this month (2015-03-31).
And welcome any additional ideas, suggestions and completions for all
patches in v8 by any members.

Thanks.
diff mbox

Patch

diff --git a/configure b/configure
index 589798e..a8704ec 100755
--- a/configure
+++ b/configure
@@ -5215,6 +5215,9 @@  case "$target_name" in
   s390x)
     gdb_xml_files="s390x-core64.xml s390-acr.xml s390-fpr.xml"
   ;;
+  tilegx)
+    TARGET_ARCH=tilegx
+  ;;
   unicore32)
   ;;
   xtensa|xtensaeb)
diff --git a/default-configs/tilegx-linux-user.mak b/default-configs/tilegx-linux-user.mak
new file mode 100644
index 0000000..3e47493
--- /dev/null
+++ b/default-configs/tilegx-linux-user.mak
@@ -0,0 +1 @@ 
+# Default configuration for tilegx-linux-user
diff --git a/target-tilegx/Makefile.objs b/target-tilegx/Makefile.objs
new file mode 100644
index 0000000..8b3dc76
--- /dev/null
+++ b/target-tilegx/Makefile.objs
@@ -0,0 +1 @@ 
+obj-y += cpu.o translate.o helper.o