3 VPATH
= @
srcdir@ @
srcdir@
/..
6 srcroot
= $(srcdir)/..
/..
7 objroot
= $(objdir
)/..
/..
10 exec_prefix = @
exec_prefix@
12 host_alias
= @host_alias@
13 target_alias
= @target_alias@
17 tooldir
= $(exec_prefix)/$(target_alias
)
22 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
23 INSTALL_DATA
= @INSTALL_DATA@
25 # Multilib support variables.
26 # TOP is used instead of MULTI{BUILD,SRC}TOP.
43 OBJDUMP
= `if [ -f ${objroot}/../binutils/objdump ] ; \
44 then echo ${objroot}/../binutils/objdump ; \
45 else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
46 OBJCOPY
= `if [ -f ${objroot}/../binutils/objcopy ] ; \
47 then echo ${objroot}/../binutils/objcopy ; \
48 else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
50 REDBOOT_OBJS
= redboot-crt0.o redboot-syscalls.o
51 REDBOOT_SCRIPTS
= redboot.
ld redboot.specs
52 REDBOOT_INSTALL
= install-redboot
55 # Here is all of the eval board stuff
56 PID_SCRIPTS
= pid.specs
57 PID_INSTALL
= install-pid
59 IQ80310_SCRIPTS
= iq80310.specs
60 IQ80310_INSTALL
= install-iq80310
63 # Host specific makefile fragment comes in here.
67 # build a test program for each target board. Just trying to get
68 # it to link is a good test, so we ignore all the errors for now.
73 # here's where we build the test programs for each target
79 redboot-crt0.o
: redboot-crt0.S
80 redboot-syscalls.o
: redboot-syscalls.c
$(srcdir)/..
/syscall.h
83 rm -f a.out core
*.i
*.o
*-test *.srec
*.dis
*.x
$(SIM_BSP
) $(IQ80310_BSP
)
85 distclean maintainer-clean
realclean: clean
86 rm -f Makefile config.status
*~
88 .PHONY
: install info install-info clean-info
89 install: ${REDBOOT_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL}
93 set
-e
; for x in
${REDBOOT_OBJS}; do
${INSTALL_DATA} $$x ${tooldir}/lib
${MULTISUBDIR}/$$x; done
94 set
-e
; for x in
${REDBOOT_SCRIPTS}; do
${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib
${MULTISUBDIR}/$$x; done
97 set
-e
; for x in
${PID_SCRIPTS}; do
${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib
${MULTISUBDIR}/$$x; done
100 set
-e
; for x in
${IQ80310_SCRIPTS}; do
${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib
${MULTISUBDIR}/$$x; done
108 Makefile
: Makefile.in config.status @host_makefile_frag_path@
109 $(SHELL
) config.status
111 config.status
: configure
112 $(SHELL
) config.status
--recheck