* arm/elf-nano.specs: New file.
* arm/elf-rdimon.specs: Support nano.specs. * arm/Makefile.in: Support nano.specs. * libnosys/nosys.specs: Support nano.specs.
This commit is contained in:
parent
f703e6aa08
commit
433de33ec2
@ -1,3 +1,10 @@
|
|||||||
|
2014-08-14 Bin Cheng <bin.cheng@arm.com>
|
||||||
|
|
||||||
|
* arm/elf-nano.specs: New file.
|
||||||
|
* arm/elf-rdimon.specs: Support nano.specs.
|
||||||
|
* arm/Makefile.in: Support nano.specs.
|
||||||
|
* libnosys/nosys.specs: Support nano.specs.
|
||||||
|
|
||||||
2014-07-27 Anthony Green <green@moxielogic.com>
|
2014-07-27 Anthony Green <green@moxielogic.com>
|
||||||
|
|
||||||
* moxie/Makefile.in (LD_SCRIPTS): Add moxiebox.ld
|
* moxie/Makefile.in (LD_SCRIPTS): Add moxiebox.ld
|
||||||
|
@ -55,6 +55,9 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
|
|||||||
@BUILD_CRT0_FALSE@CRT0 =
|
@BUILD_CRT0_FALSE@CRT0 =
|
||||||
@BUILD_CRT0_FALSE@CRT0_INSTALL =
|
@BUILD_CRT0_FALSE@CRT0_INSTALL =
|
||||||
|
|
||||||
|
NANO_SCRIPTS=nano.specs
|
||||||
|
NANO_INSTALL=install-nano
|
||||||
|
|
||||||
LINUX_CRT0 = linux-crt0.o
|
LINUX_CRT0 = linux-crt0.o
|
||||||
LINUX_BSP = libgloss-linux.a
|
LINUX_BSP = libgloss-linux.a
|
||||||
LINUX_OBJS = linux-syscalls0.o linux-syscalls1.o
|
LINUX_OBJS = linux-syscalls0.o linux-syscalls1.o
|
||||||
@ -172,7 +175,7 @@ distclean maintainer-clean realclean: clean
|
|||||||
rm -f Makefile config.status *~
|
rm -f Makefile config.status *~
|
||||||
|
|
||||||
.PHONY: install info install-info clean-info
|
.PHONY: install info install-info clean-info
|
||||||
install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} ${RDIMON_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL}
|
install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} ${RDIMON_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL} ${NANO_INSTALL}
|
||||||
@rootpre=`pwd`/; export rootpre; \
|
@rootpre=`pwd`/; export rootpre; \
|
||||||
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
|
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
|
||||||
for dir in .. ${SUBDIRS}; do \
|
for dir in .. ${SUBDIRS}; do \
|
||||||
@ -183,6 +186,9 @@ install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} $
|
|||||||
else true; fi; \
|
else true; fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
install-nano:
|
||||||
|
set -e; for x in ${NANO_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
|
||||||
|
|
||||||
install-crt0:
|
install-crt0:
|
||||||
${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
|
${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
|
||||||
|
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
%rename lib libc
|
%rename link_gcc_c_sequence rdimon_link_gcc_c_sequence
|
||||||
|
|
||||||
*libgloss:
|
*rdimon_libc:
|
||||||
-lrdimon
|
%{!specs=nano.specs:-lc} %{specs=nano.specs:-lc_nano}
|
||||||
|
|
||||||
*lib:
|
*rdimon_libgloss:
|
||||||
--start-group %(libc) %(libgloss) --end-group
|
%{!specs=nano.specs:-lrdimon} %{specs=nano.specs:-lrdimon_nano}
|
||||||
|
|
||||||
|
*link_gcc_c_sequence:
|
||||||
|
%(rdimon_link_gcc_c_sequence) --start-group %G %(rdimon_libc) %(rdimon_libgloss) --end-group
|
||||||
|
|
||||||
*startfile:
|
*startfile:
|
||||||
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
|
crti%O%s crtbegin%O%s %{!pg:rdimon-crt0%O%s} %{pg:rdimon-crt0%O%s}
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
%rename lib libc
|
%rename link_gcc_c_sequence nosys_link_gcc_c_sequence
|
||||||
|
|
||||||
*libgloss:
|
*nosys_libgloss:
|
||||||
-lnosys
|
-lnosys
|
||||||
|
|
||||||
*lib:
|
*nosys_libc:
|
||||||
--start-group %(libc) %(libgloss) --end-group
|
%{!specs=nano.specs:-lc} %{specs=nano.specs:-lc_nano}
|
||||||
|
|
||||||
|
*link_gcc_c_sequence:
|
||||||
|
%(nosys_link_gcc_c_sequence) --start-group %G %(nosys_libc) %(nosys_libgloss) --end-group
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user