fi
mep-reconfig-gcc: configure-gcc
@dir=gcc; \
- if test -f $${dir}/Makefile-not-yet; then \
+ if test -f $${dir}/Makefile; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
all-opcodes all-bfd all-gprof
mep-rebuild-gcc: all-binutils all-gas all-ld mep-reconfig-gcc
@dir=gcc; \
- if [ -f ./$${dir}/Makefile-not-yet ] ; then \
+ if [ -f ./$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) start.encap); \
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) gcc-cross); \
else \
- rm -f $(exec_prefix)/bin/mep-elf-gcc; \
- ln -s `namei $(exec_prefix) | awk '/^ l / { print $$4 }' | sed s,sources,comp/mep-061010-branch,`/bin/mep-elf-gcc $(exec_prefix)/bin/mep-elf-gcc; \
+ true; \
fi
mep-rebuild-target-libgloss: mep-rebuild-gcc mep-reconfig-target-libgloss
@dir=libgloss; \
- if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile-not-yet ] ; then \
+ if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
mep-reinstall: \
mep-reinstall-sid mep-reinstall-gcc mep-reinstall-gdb \
install-gas install-ld install-binutils install-gprof \
- $(install-target-libgloss) mep-reinstall-utils
+ install-target-libgloss mep-reinstall-utils
mep-reinstall-gcc: installdirs mep-rebuild-gcc
@dir=gcc; \
- if [ -f ./$${dir}/Makefile-not-yet ] ; then \
+ if [ -f ./$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
fi
mep-reinstall-gdb: installdirs all-gdb
@dir=gdb; \
- if [ -f ./$${dir}/Makefile-not-yet ] ; then \
+ if [ -f ./$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
configure-sid: mep-config-stmp
configure-gcc: mep-config-stmp
configure-utils: mep-config-stmp
-configure-gdb: mep-config-stmp
- @true
all-binutils: mep-reconfig-opcodes
all-gas: mep-reconfig-opcodes
all-ld: mep-reconfig-opcodes
all-opcodes: mep-reconfig-opcodes
-all-gdb: all-sid
- rm -f $(exec_prefix)/bin/mep-elf-gdb
- ln -s `namei $(exec_prefix) | awk '/^ l / { print $$4 }' | sed s,sources,comp/mep-061010-branch,`/bin/mep-elf-gdb $(exec_prefix)/bin/mep-elf-gdb
-
+all-gdb: configure-gdb all-sid
all-sid: mep-reconfig-sid mep-reconfig-opcodes
install-opcodes: all-opcodes
install-binutils: all-binutils
install-gprof: all-gprof
install-target-libgloss: mep-rebuild-target-libgloss
-