Changeset 102 for trunk/Makefile
- Timestamp:
- May 7, 2003, 6:15:06 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.15
to1.16
r101 r102 259 259 ############################################################################### 260 260 ############################################################################### 261 all-symlinks: 262 # Don't do this till we've got binutils working. 263 # all-symlinks-binutils 261 all-symlinks: \ 262 all-symlinks-binutils 264 263 265 264 ifeq "$(BUILD_PLATFORM)" "OS2" … … 274 273 TOOL_UNSYMLINK_DIR = rm 275 274 endif 276 275 276 # ld is broken, so don't use it! 277 # ld \ 278 277 279 SYMLINKS_BINUTILS_TO_GCC_DIRS = \ 278 280 bfd \ … … 282 284 gprof \ 283 285 intl \ 284 ld \285 286 opcodes \ 286 287 texinfo \ … … 337 338 if [ ! -f "$(PATH_TOP)/src/gcc/$$file" ]; then \ 338 339 $(TOOL_SYMLINK_FILE) $(PATH_TOP)/src/binutils/$$file $(PATH_TOP)/src/gcc/$$file && \ 339 touch $(PATH_TOP)/src/gcc/ $${file}.symlinked; \340 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`; \ 340 341 fi ; \ 341 342 done … … 343 344 if [ ! -d "$(PATH_TOP)/src/gcc/$$dir" ] ; then \ 344 345 $(TOOL_SYMLINK_MKDIR) $(PATH_TOP)/src/gcc/$$dir && \ 345 touch $(PATH_TOP)/src/gcc/ $${dir}.symlinked&& \346 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/ ; \346 touch $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'` && \ 347 $(TOOL_SYMLINK_DIR) $(PATH_TOP)/src/binutils/$$dir $(PATH_TOP)/src/gcc/`echo $${dir}| sed -e '/\//!d' -e 's@\([a-zA-z0-9]*\)/.*@\1/@'` ; \ 347 348 fi ; \ 348 349 done … … 350 351 all-symlinks-unlink-binutils: 351 352 for file in $(SYMLINKS_BINUTILS_TO_GCC_FILES); do \ 352 if [ -f "$(PATH_TOP)/src/gcc/ $${file}.symlinked" ]; then \353 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'`" ]; then \ 353 354 rm $(PATH_TOP)/src/gcc/$${file} && \ 354 rm $(PATH_TOP)/src/gcc/ $${file}.symlinked; \355 rm $(PATH_TOP)/src/gcc/.symlinked.`echo $${file} | sed -e 's@/@_@g'` ; \ 355 356 fi ; \ 356 357 done 357 358 for dir in $(SYMLINKS_BINUTILS_TO_GCC_DIRS) ; do \ 358 if [ -f "$(PATH_TOP)/src/gcc/ $$dir.symlinked" ] ; then \359 if [ -f "$(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`" ] ; then \ 359 360 $(TOOL_UNSYMLINK_DIR) $(PATH_TOP)/src/gcc/$${dir} && \ 360 rm $(PATH_TOP)/src/gcc/ $${dir}.symlinked; \361 rm $(PATH_TOP)/src/gcc/.symlinked.`echo $${dir} | sed -e 's@/@_@g'`; \ 361 362 fi ; \ 362 363 done … … 495 496 496 497 498 499 500 501 502 503 497 504 498 505 ############################################################################### -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.