Ticket #10876: target-toolchain-Makefile.diff

File target-toolchain-Makefile.diff, 842 bytes (added by anonymous, 6 years ago)
  • (a) Makefile-old vs. (b) Makefile

    a b  
    3838        $(CP)  $(TOPDIR)/LICENSE ./files/README.TOOLCHAIN \ 
    3939                $(TOOLCHAIN_BUILD_DIR)/ 
    4040 
    41         $(CP) ./files/wrapper.sh $(TOOLCHAIN_PREFIX)/usr/bin/$(REAL_GNU_TARGET_NAME)-wrapper.sh 
    42         chmod +x $(TOOLCHAIN_PREFIX)/usr/bin/$(REAL_GNU_TARGET_NAME)-wrapper.sh 
    43         (cd $(TOOLCHAIN_PREFIX)/usr/bin; \ 
     41        $(CP) ./files/wrapper.sh $(TOOLCHAIN_PREFIX)/bin/$(REAL_GNU_TARGET_NAME)-wrapper.sh 
     42        chmod +x $(TOOLCHAIN_PREFIX)/bin/$(REAL_GNU_TARGET_NAME)-wrapper.sh 
     43        (cd $(TOOLCHAIN_PREFIX)/bin; \ 
    4444                for app in cc gcc g++ c++ cpp ld as ; do \ 
    4545                        [ -f $(REAL_GNU_TARGET_NAME)-$${app} ] && mv $(REAL_GNU_TARGET_NAME)-$${app} $(REAL_GNU_TARGET_NAME)-$${app}.bin ; \ 
    4646                        ln -sf $(REAL_GNU_TARGET_NAME)-wrapper.sh $(REAL_GNU_TARGET_NAME)-$${app} ; \