URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 203 to Rev 204
- ↔ Reverse comparison
Rev 203 → Rev 204
/trunk/gnu-src/newlib-1.17.0/libgloss/or32/Makefile.in
1,5 → 1,6
# Makefile.in. Autoconf input makefile. |
|
# Copyright (c) 1998 Cygnus Support |
# Copyright (C) 2004, Jacob Bower |
# Copyright (C) 2010, Embecosm Limited <info@embecosm.com> |
|
42,19 → 43,18
libdir = @libdir@ |
tooldir = $(exec_prefix)/$(target_alias) |
|
INSTALL = @INSTALL@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_DATA = @INSTALL_DATA@ |
|
# Multilib support variables. |
# TOP is used instead of MULTI{BUILD,SRC}TOP. |
MULTIDIRS = |
MULTISUBDIR = |
|
INSTALL = @INSTALL@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_DATA = @INSTALL_DATA@ |
|
SHELL = /bin/sh |
|
CC = @CC@ |
|
AS = @AS@ |
AR = @AR@ |
LD = @LD@ |
67,32 → 67,38
then echo ${objroot}/../binutils/objcopy ; \ |
else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` |
|
OBJS = putnum.o unlink.o |
CFLAGS = -g |
# Add our own flags for C compilation |
CFLAGS = -g |
|
BSP = libor32.a libor32uart.a |
# Our own C runtime startup and BSPs |
CRT0 = crt0.o |
BSP = libor32.a |
BSP_UART = libor32uart.a |
|
CRT0 = crt0.o |
OR32_OBJS = _exit.o \ |
close.o \ |
environ.o \ |
execve.o \ |
fork.o \ |
fstat.o \ |
getpid.o \ |
isatty.o \ |
kill.o \ |
link.o \ |
lseek.o \ |
open.o \ |
read.o \ |
sbrk.o \ |
stat.o \ |
times.o \ |
uart-dummy.o \ |
unlink.o \ |
wait.o \ |
write.o |
OUTPUTS = $(CRT0) $(BSP) $(BSP_UART) |
|
# The object files for each BSP |
OBJS = _exit.o \ |
close.o \ |
environ.o \ |
execve.o \ |
fork.o \ |
fstat.o \ |
getpid.o \ |
isatty.o \ |
kill.o \ |
link.o \ |
lseek.o \ |
open.o \ |
read.o \ |
sbrk.o \ |
stat.o \ |
times.o \ |
uart-dummy.o \ |
unlink.o \ |
wait.o \ |
write.o |
|
UART_OBJS = _exit.o \ |
close.o \ |
environ.o \ |
114,49 → 120,46
wait.o \ |
write-uart.o |
|
# Host specific makefile fragment comes in here. |
# Host specific makefile fragment specifies the automatic rules |
@host_makefile_frag@ |
|
# |
# build a test program for each target board. Just trying to get |
# it to link is a good test, so we ignore all the errors for now. |
# |
all: ${CRT0} ${BSP} |
# Build crt0.o and all the BSPs |
all: ${CRT0} ${BSP} ${BSP_UART} |
|
# |
# here's where we build the board support packages for each target |
# |
libor32.a: $(OR32_OBJS) |
${AR} ${ARFLAGS} $@ $(OR32_OBJS) |
# Rules to build the BSPs from their objects. No need for a rule to build |
# crt0.o, that happens autmatically from .S |
$(BSP): $(OBJS) |
${AR} ${ARFLAGS} $@ $(OBJS) |
${RANLIB} $@ |
|
libor32uart.a: $(UART_OBJS) |
$(BSP_UART): $(UART_OBJS) |
${AR} ${ARFLAGS} $@ $(UART_OBJS) |
${RANLIB} $@ |
|
crt0.o: crt0.S |
$(CC) -c $(CFLAGS) $(<) -o $@ |
|
|
# Standard clean up rules. |
clean mostlyclean: |
rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(MON_BSP) |
rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x |
|
distclean maintainer-clean realclean: clean |
rm -f Makefile config.status *~ |
|
# Standard install rules |
.PHONY: install info install-info clean-info |
install: |
$(INSTALL_PROGRAM) $(CRT0) \ |
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0) |
@for bsp in ${BSP}; do\ |
$(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ |
@for outputs in ${OUTPUTS}; do\ |
mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ |
$(INSTALL_PROGRAM) $${outputs} \ |
$(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \ |
done |
|
# Deal with info if we had any. |
info: |
install-info: |
clean-info: |
|
|
# Standard make and configure dependencies. |
Makefile: Makefile.in config.status @host_makefile_frag_path@ |
$(SHELL) config.status |
|
/trunk/gnu-src/newlib-1.17.0/libgloss/or32/configure.in
1,5 → 1,6
# configure.in. Autoconf input file. |
|
# Copyright (c) 1995, 1996 Cygnus Support |
# Copyright (C) 2004, Jacob Bower |
# Copyright (C) 2010, Embecosm Limited <info@embecosm.com> |
|
47,9 → 48,9
fi |
AC_CONFIG_AUX_DIR($libgloss_topdir) |
|
AC_CANONICAL_SYSTEM |
AC_CANONICAL_TARGET |
|
AC_ARG_PROGRAM |
|
AC_PROG_INSTALL |
|
AC_DEFINE(HAVE_GNU_LD, 1, [Using GNU ld]) |
109,5 → 110,6
with_multisubdir=${with_multisubdir} |
ac_configure_args="${ac_configure_args} --enable-multilib" |
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
libgloss_topdir=${libgloss_topdir}) |
libgloss_topdir=${libgloss_topdir} |
) |
AC_OUTPUT |
/trunk/gnu-src/newlib-1.17.0/libgloss/ChangeLog
1,5 → 1,15
2010-07-16 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* or32/configure.in: Tidied up and made consistent with nosyslib. |
* or32/Makefile.in: Tidied up and made consistent with nosyslib. |
|
2010-07-16 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* libnosys/configure.in: Add or32 as using namespace clean |
implementation. |
|
2010-07-16 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* or32/_exit.c: Removed redundant header. |
* or32/close-uart.c: Deleted. |
* or32/close.c: Undefined #errno. Fail for all streams. |
/trunk/gnu-src/newlib-1.17.0/libgloss/libnosys/configure.in
69,6 → 69,8
;; |
mn10?00-*-*) |
;; |
or32-*-*) |
;; |
powerpcle-*-pe) |
;; |
sh*-*-*) |
195,13 → 197,13
AC_SUBST_FILE(host_makefile_frag) |
|
AC_CONFIG_FILES(Makefile, |
ac_file=Makefile . ${libgloss_topdir}/config-ml.in, |
srcdir=${srcdir} |
target=${target} |
with_multisubdir=${with_multisubdir} |
ac_configure_args="${ac_configure_args} --enable-multilib" |
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
libgloss_topdir=${libgloss_topdir} |
ac_file=Makefile . ${libgloss_topdir}/config-ml.in, |
srcdir=${srcdir} |
target=${target} |
with_multisubdir=${with_multisubdir} |
ac_configure_args="${ac_configure_args} --enable-multilib" |
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
libgloss_topdir=${libgloss_topdir} |
) |
AC_OUTPUT |
|