diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-02-19 08:17:24 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2016-02-19 08:17:24 +0000 |
commit | 45207061d8181c5df6a6bbd1fde82437fc86477e (patch) | |
tree | dd3329d7867b6a42361a0124b9e7a61485e320ae /helpers.c | |
parent | 1c2d23a22dd27b4c4b890fca1fcea6e0a6bd4de2 (diff) | |
download | ast2050-flashrom-45207061d8181c5df6a6bbd1fde82437fc86477e.zip ast2050-flashrom-45207061d8181c5df6a6bbd1fde82437fc86477e.tar.gz |
Makefile: fix overriding of make command line arguments
Command line arguments given when executing make should not stop us
from setting commonly user-configurable variables like CPPFLAGS or
LDFLAGS.
Without this patch 'make CPPFLAGS="-Ifail"' would fail to find
libusb1 headers and abort.
Add override statements where we append mandatory options to
these variables to make (Debian) packagers more happy.
Also, r1920 introduced some explicit calls to pkg-config instead of
$(PKG_CONFIG). This patch corrects that as well.
Corresponding to flashrom svn r1931.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'helpers.c')
0 files changed, 0 insertions, 0 deletions