diff options
author | Joel Stanley <joel@jms.id.au> | 2019-07-22 12:32:44 +0930 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-07-22 13:13:24 +1000 |
commit | 184f51099471341715bc81a4c09b56a3c6f9d687 (patch) | |
tree | 9d8668390cfdcaa8baa03936549ca85a49a8b637 /tests | |
parent | 812b1956a07603fb56139f812395eb369727dd82 (diff) | |
download | dtc-184f51099471341715bc81a4c09b56a3c6f9d687.zip dtc-184f51099471341715bc81a4c09b56a3c6f9d687.tar.gz dtc-184f51099471341715bc81a4c09b56a3c6f9d687.tar.bz2 |
Makefile: Add EXTRA_CFLAGS variable
Distributions packaging dtc may need to set extra flags. Currently when
they do that it overrides the ones set by the makefile. This is
particularly problematic when compiling without yaml, as the yaml
detection is ignored.
ld: dtc.o: in function `main':
dtc.c:(.text.startup+0x718): undefined reference to `dt_to_yaml'
This patch provides a EXTRA_CFLAGS variable that is added to the list of
CFLAGS, and can be set on the command line when packaging.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20190722030244.9580-1-joel@jms.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions