< prev index next >

make/devkit/Tools.gmk

Print this page




 545         cp $< $@
 546 
 547 THESE_MAKEFILES := $(PREFIX)/Makefile $(PREFIX)/Tools.gmk
 548 
 549 ##########################################################################################
 550 
 551 ifeq ($(TARGET), $(HOST))
 552   # To build with dtrace support, the build needs access to the dtrace executable from the
 553   # sysroot. Generally we don't want to add binaries in the sysroot to the path, but
 554   # luckily this seems to execute well enough on a different host Linux distro, so symlink
 555   # it into the main bin dir.
 556   $(PREFIX)/bin/dtrace:
 557         @echo 'Creating dtrace soft link'
 558         ln -s ../$(HOST)/sysroot/usr/bin/dtrace $@
 559 
 560   $(PREFIX)/bin/%:
 561         @echo 'Creating missing $* soft link'
 562         ln -s $(TARGET)-$* $@
 563 
 564   missing-links := $(addprefix $(PREFIX)/bin/, \
 565       addr2line ar as c++ c++filt elfedit g++ gcc gprof ld nm objcopy ranlib readelf \
 566       size strings strip ld.bfd ld.gold dtrace)
 567 endif
 568 
 569 ##########################################################################################
 570 
 571 bfdlib : $(bfdlib)
 572 binutils : $(binutils)
 573 rpms : $(rpms)
 574 libs : $(libs)
 575 sysroot : rpms libs
 576 gcc : sysroot $(gcc) $(gccpatch)
 577 gdb : $(gdb)
 578 all : binutils gcc bfdlib $(PREFIX)/devkit.info $(missing-links) $(SYSROOT_LINKS) \
 579     $(THESE_MAKEFILES) gdb
 580 
 581 # this is only built for host. so separate.
 582 ccache : $(ccache)
 583 
 584 # Force target
 585 FRC:
 586 


 545         cp $< $@
 546 
 547 THESE_MAKEFILES := $(PREFIX)/Makefile $(PREFIX)/Tools.gmk
 548 
 549 ##########################################################################################
 550 
 551 ifeq ($(TARGET), $(HOST))
 552   # To build with dtrace support, the build needs access to the dtrace executable from the
 553   # sysroot. Generally we don't want to add binaries in the sysroot to the path, but
 554   # luckily this seems to execute well enough on a different host Linux distro, so symlink
 555   # it into the main bin dir.
 556   $(PREFIX)/bin/dtrace:
 557         @echo 'Creating dtrace soft link'
 558         ln -s ../$(HOST)/sysroot/usr/bin/dtrace $@
 559 
 560   $(PREFIX)/bin/%:
 561         @echo 'Creating missing $* soft link'
 562         ln -s $(TARGET)-$* $@
 563 
 564   missing-links := $(addprefix $(PREFIX)/bin/, \
 565       addr2line ar as c++ c++filt dwp elfedit g++ gcc gcc-$(GCC_VER) gprof ld ld.bfd \
 566       ld.gold nm objcopy objdump ranlib readelf size strings strip)
 567 endif
 568 
 569 ##########################################################################################
 570 
 571 bfdlib : $(bfdlib)
 572 binutils : $(binutils)
 573 rpms : $(rpms)
 574 libs : $(libs)
 575 sysroot : rpms libs
 576 gcc : sysroot $(gcc) $(gccpatch)
 577 gdb : $(gdb)
 578 all : binutils gcc bfdlib $(PREFIX)/devkit.info $(missing-links) $(SYSROOT_LINKS) \
 579     $(THESE_MAKEFILES) gdb
 580 
 581 # this is only built for host. so separate.
 582 ccache : $(ccache)
 583 
 584 # Force target
 585 FRC:
 586 
< prev index next >