diff options
author | Yuriy Kolerov <kolerov93@gmail.com> | 2024-05-21 10:56:58 +0100 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2024-05-22 14:26:48 -0400 |
commit | 2c338fd7d8e90f11f15d7035da81b7bb51032b4b (patch) | |
tree | 90ca51b1c07b54481492804b018a19d12d416837 /libgloss/arc | |
parent | 2935b9e718723b31b084ec86a00c836e32c515b5 (diff) | |
download | newlib-2c338fd7d8e90f11f15d7035da81b7bb51032b4b.zip newlib-2c338fd7d8e90f11f15d7035da81b7bb51032b4b.tar.gz newlib-2c338fd7d8e90f11f15d7035da81b7bb51032b4b.tar.bz2 |
arc: libgloss: Add build rules for new boards
Add build rules to support packages for development boards and
nSIM hostlink.
Makefile.in is generated this way:
$ autoconf --version
autoconf (GNU Autoconf) 2.69
$ automake --version
automake (GNU automake) 1.15.1
$ cd libgloss
$ autoreconf -i
Signed-off-by: Yuriy Kolerov <kolerov93@gmail.com>
Diffstat (limited to 'libgloss/arc')
-rw-r--r-- | libgloss/arc/Makefile.inc | 92 |
1 files changed, 91 insertions, 1 deletions
diff --git a/libgloss/arc/Makefile.inc b/libgloss/arc/Makefile.inc index fe9cc76..9cc5880 100644 --- a/libgloss/arc/Makefile.inc +++ b/libgloss/arc/Makefile.inc @@ -5,8 +5,98 @@ multilibtool_LIBRARIES += %D%/libnsim.a %D%/nsim-syscalls.c \ %D%/sbrk.c +multilibtool_LIBRARIES += %D%/libhl.a +%C%_libhl_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libhl_a_SOURCES = \ + %D%/arc-timer.c \ + %D%/hl-stub.c \ + %D%/hl-setup.c \ + %D%/libcfunc.c \ + %D%/sbrk.c \ + %D%/mcount.c \ + %D%/hl/hl_gw.c \ + %D%/hl/hl_api.c \ + %D%/hl/hl_open.c \ + %D%/hl/hl_close.c \ + %D%/hl/hl_read.c \ + %D%/hl/hl_write.c \ + %D%/hl/hl_lseek.c \ + %D%/hl/hl_unlink.c \ + %D%/hl/hl_isatty.c \ + %D%/hl/hl_fstat.c \ + %D%/hl/hl_clock.c \ + %D%/hl/hl_gettimeofday.c \ + %D%/hl/hl_argc.c \ + %D%/hl/hl_argv.c \ + %D%/hl/hl_exit.c + +multilibtool_LIBRARIES += %D%/libuart_8250.a +%C%_libuart_8250_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libuart_8250_a_SOURCES = \ + %D%/uart-8250.c \ + %D%/uart-8250-stub.c \ + %D%/sbrk.c \ + %D%/mcount.c + +multilibtool_LIBRARIES += %D%/libiotdk_uart.a +%C%_libiotdk_uart_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libiotdk_uart_a_SOURCES = %D%/iotdk-uart-setup.c + +multilibtool_LIBRARIES += %D%/libhsdk_uart.a +%C%_libhsdk_uart_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libhsdk_uart_a_SOURCES = %D%/hsdk-uart-setup.c + +multilibtool_LIBRARIES += %D%/libemsk_uart.a +%C%_libemsk_uart_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libemsk_uart_a_SOURCES = %D%/emsk-uart-setup.c + +multilibtool_LIBRARIES += %D%/libemsdp_uart.a +%C%_libemsdp_uart_a_CPPFLAGS = -I$(srcdir)/%D% +%C%_libemsdp_uart_a_SOURCES = %D%/emsdp-uart-setup.c + multilibtool_DATA += \ %D%/crt0.o \ %D%/gcrt0.o \ + %D%/arc-main-helper.o \ %D%/nano.specs \ - %D%/nsim.specs + %D%/nsim.specs \ + %D%/hl.specs \ + %D%/arcv2elf-common.ld \ + %D%/emsdp1.1_ram.specs \ + %D%/emsdp1.1_ram.ld \ + %D%/emsdp1.1.specs \ + %D%/emsdp1.1.ld \ + %D%/emsdp1.2_ram.specs \ + %D%/emsdp1.2_ram.ld \ + %D%/emsdp1.2.specs \ + %D%/emsdp1.2.ld \ + %D%/emsk1_em4.specs \ + %D%/emsk1_em4.ld \ + %D%/emsk1_em6_ram.specs \ + %D%/emsk1_em6_ram.ld \ + %D%/emsk1_em6.specs \ + %D%/emsk1_em6.ld \ + %D%/emsk2.1_em5d.specs \ + %D%/emsk2.1_em5d.ld \ + %D%/emsk2.1_em7d_ram.specs \ + %D%/emsk2.1_em7d_ram.ld \ + %D%/emsk2.1_em7d.specs \ + %D%/emsk2.1_em7d.ld \ + %D%/emsk2.2_em7d_ram.specs \ + %D%/emsk2.2_em7d_ram.ld \ + %D%/emsk2.2_em7d.specs \ + %D%/emsk2.2_em7d.ld \ + %D%/emsk2.2_em9d_ram.specs \ + %D%/emsk2.2_em9d_ram.ld \ + %D%/emsk2.2_em9d.specs \ + %D%/emsk2.2_em9d.ld \ + %D%/emsk2.2_em11d_ram.specs \ + %D%/emsk2.2_em11d_ram.ld \ + %D%/emsk2.2_em11d.specs \ + %D%/emsk2.2_em11d.ld \ + %D%/hsdk.specs \ + %D%/hsdk.ld \ + %D%/iotdk.specs \ + %D%/iotdk.ld + +libobjs_a_SOURCES += %D%/crt0.S %D%/gcrt0.S %D%/arc-main-helper.c |