Clarify toolchains and install steps

Including removing the extremely unhelpful DETECT_TOOLCHAIN option.
This commit is contained in:
Karl Palsson
2014-03-21 22:42:03 +00:00
parent cb33acc32a
commit 5a0c305aad
2 changed files with 25 additions and 20 deletions

View File

@@ -23,11 +23,7 @@ PREFIX ?= arm-none-eabi
STYLECHECK := scripts/checkpatch.pl
STYLECHECKFLAGS := --no-tree -f --terse --mailback
ifeq ($(DETECT_TOOLCHAIN),)
DESTDIR ?= /usr/local
else
DESTDIR ?= $(shell dirname $(shell readlink -f $(shell which $(PREFIX)-gcc)))/..
endif
INCDIR := $(DESTDIR)/$(PREFIX)/include
LIBDIR := $(DESTDIR)/$(PREFIX)/lib