Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add note at completion of installation indicating install location

  • Loading branch information...
commit 1cd739fcf1e8563805a9e60016023cb5a18b9275 1 parent ae94cc4
James Snyder authored
Showing with 17 additions and 1 deletion.
  1. +17 −1 Makefile
18 Makefile
View
@@ -87,7 +87,12 @@ PKG_VERSION ?= "32-bit ARM EABI Toolchain $(PKG_TAG)-$(CS_BASE)-$(CS_REV)-$(BUIL
############### BUILD RULES ###############
-install-cross: cross-binutils cross-gcc cross-newlib cross-gdb
+.PHONY: install-tools
+install-tools: cross-binutils cross-gcc cross-newlib cross-gdb
+
+.PHONY: install-cross
+install-cross: install-tools install-note
+
install-deps: gmp mpfr mpc
sudomode:
@@ -97,6 +102,17 @@ ifneq ($(USER),root)
@exit 1
endif
+.PHONY: install-note
+install-note: install-tools
+ @echo
+ @echo ====== INSTALLATION NOTE ======
+ @echo Your tools have now been installed at the following prefix:
+ @echo $(PREFIX)
+ @echo
+ @echo Please be sure to add something similar to the following to your .bash_profile, .zshrc, etc:
+ @echo export PATH=$(PREFIX)/bin:'$$PATH'
+ @echo
+
$(LOCAL_SOURCE):
ifeq ($(USER),root)
sudo -u $(SUDO_USER) curl -LO $(SOURCE_URL)
Please sign in to comment.
Something went wrong with that request. Please try again.