4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-22 15:07:43 +08:00
newlib-cygwin/libgloss/csky/Makefile.inc
Mike Frysinger 4391d2aed3 libgloss: merge csky into top-level Makefile
Avoid a recursive make to speed things up a bit.
A csky-elf build shows installed objects & libs produce same code.
2023-01-13 17:24:17 -05:00

37 lines
636 B
Makefile

## csky semihosting support.
multilibtool_DATA += \
%D%/crt0.o
libobjs_a_SOURCES += \
%D%/crt0.S
## Here's all the hosted stuff.
multilibtool_LIBRARIES += %D%/libsemi.a
%C%_libsemi_a_SOURCES = \
%D%/io-semi.S \
%D%/sbrk.c \
%D%/io-gdb.c \
%D%/io-exit.c \
%D%/io-close.c \
%D%/io-fstat.c \
%D%/io-gettimeofday.c \
%D%/io-lseek.c \
%D%/io-read.c \
%D%/io-system.c \
%D%/io-unlink.c \
%D%/io-exit.c \
%D%/io-gdb.c \
%D%/io-isatty.c \
%D%/io-open.c \
%D%/io-rename.c \
%D%/io-stat.c \
%D%/io-time.c \
%D%/io-write.c \
%D%/kill.c \
%D%/getpid.c
%C%_libsemi_a_CPPFLAGS = \
$(AM_CPPFLAGS) \
-nostdlib \
-DHOSTED=1