make V=1 no longer spews linker garbage collection
make V=99 will, if you realllly want it.
This commit is contained in:
8
README
8
README
@@ -18,6 +18,14 @@ preferably via a github pull request.
|
|||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
You _must_ run "make" in the top level directory first. This builds the
|
||||||
|
library and all examples. If you're simply hacking on a single example after
|
||||||
|
that, you can type "make clean; make" in any of the individual project
|
||||||
|
directories later.
|
||||||
|
|
||||||
|
For more verbose output, to see compiler command lines, use "make V=1"
|
||||||
|
For insanity levels of verboseness, use "make V=99"
|
||||||
|
|
||||||
The makefiles are generally useable for your own projects with
|
The makefiles are generally useable for your own projects with
|
||||||
only minimal changes for the libopencm3 install path (See Reuse)
|
only minimal changes for the libopencm3 install path (See Reuse)
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ LDFLAGS += -L$(LIB_DIR)
|
|||||||
LDFLAGS += -T$(LDSCRIPT)
|
LDFLAGS += -T$(LDSCRIPT)
|
||||||
LDFLAGS += -Wl,-Map=$(*).map
|
LDFLAGS += -Wl,-Map=$(*).map
|
||||||
LDFLAGS += -Wl,--gc-sections
|
LDFLAGS += -Wl,--gc-sections
|
||||||
ifeq ($(V),1)
|
ifeq ($(V),99)
|
||||||
LDFLAGS += -Wl,--print-gc-sections
|
LDFLAGS += -Wl,--print-gc-sections
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user