diff options
author | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-10-27 11:45:33 +0300 |
---|---|---|
committer | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-10-28 02:46:21 +0300 |
commit | 5244e88f6bbb9faa79437946614b6c29d0f60020 (patch) | |
tree | 9e0491b88e471d976c0851bedc1d89488b09fa36 /Makefile | |
parent | 9a3d62aa0c820b3dd42ba3409b2043f4143683cd (diff) |
Makefile: Adjust default targets for "make" and "make install"
Fixing the (currently erroneous) compilation of sunxi-pio will
cause "make target-tools" to require a suitable cross-compiler
installed. Otherwise "make target-tools" fails to build.
As that is part of our default target ("make all"), we might
possibly introduce a build breakage on quite a few systems.
Avoid this situation by redefining "make tools" as the default,
and change "make install" to "make install-tools", i.e. limit
the standard targets to those builds that only rely on the host
toolchain. From now, if you actually want to include the cross-
compiling steps, use "make all" or "make install-all" instead.
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -56,16 +56,17 @@ BINDIR ?= $(PREFIX)/bin .PHONY: all clean tools target-tools install install-tools install-target-tools -all: tools target-tools - tools: $(TOOLS) $(FEXC_LINKS) target-tools: $(TARGET_TOOLS) +all: tools target-tools + misc: version.h $(MISC_TOOLS) binfiles: $(BINFILES) -install: install-tools install-target-tools +install: install-tools +install-all: install-tools install-target-tools install-tools: $(TOOLS) install -d $(DESTDIR)$(BINDIR) |