diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-08-28 09:55:04 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-08-28 09:55:04 +0000 |
commit | 8e19b0414c16f8f67749594a1b4a5c59799fb50b (patch) | |
tree | fd621ef7c6ec55edd126c96ab28d24c0ca6c4f98 /sst_fwhub.c | |
parent | 1dd5d3aa6605ed8c6928d10f4fd48f3f0abf04c2 (diff) | |
download | flashrom-8e19b0414c16f8f67749594a1b4a5c59799fb50b.tar.gz flashrom-8e19b0414c16f8f67749594a1b4a5c59799fb50b.tar.bz2 flashrom-8e19b0414c16f8f67749594a1b4a5c59799fb50b.zip |
libpayload: By default build libflashrom.a instead of flashrom
Flashrom won't build nor run as native payload very soon (or ever).
This patch changes a special GNU make variable that allows to select
the default goal which is taken if no goal is given explicitly on
the command line. Normally this would be the first rule in Makefile,
i.e. all. This won't compile if the target OS is libpayload, hence
change it to "libflashrom.a" in that case.
This requires two not completely ancient GNU make features:
- MAKECMDGOALS
- .DEFAULT_GOAL
Checking for these with ancient-only GNU make features is non-trivial
and hereby postponed.
Corresponding to flashrom svn r1726.
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 'sst_fwhub.c')
0 files changed, 0 insertions, 0 deletions