diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2021-10-20 22:08:24 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-11-07 16:59:40 +0000 |
commit | d87fd9cf3d1e44b2f702dc6df433f6edbd89d15e (patch) | |
tree | 35d3bb776e0d773d4a5ac630e2cda8916aa44378 /Makefile.include | |
parent | 2dae0b764f23fa3359f39b88d889205940d3c60f (diff) | |
download | flashrom-d87fd9cf3d1e44b2f702dc6df433f6edbd89d15e.tar.gz flashrom-d87fd9cf3d1e44b2f702dc6df433f6edbd89d15e.tar.bz2 flashrom-d87fd9cf3d1e44b2f702dc6df433f6edbd89d15e.zip |
Makefile: Revise build options for Linux specific headers
Clean up the feature target by outsourcing the test to an own variable.
Change the print output and don't write to the build-details file.
This is in preparation for further changes.
Change-Id: I18fc27252afb49fa7d1f2787faee2b5b669275aa
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58627
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile.include')
-rw-r--r-- | Makefile.include | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/Makefile.include b/Makefile.include index 0ea1234e9..dccc69d05 100644 --- a/Makefile.include +++ b/Makefile.include @@ -130,44 +130,6 @@ enum ftdi_chip_type type = TYPE_232H; endef export FTDI_232H_TEST -define LINUX_MTD_TEST -#include <mtd/mtd-user.h> - -int main(int argc, char **argv) -{ - (void) argc; - (void) argv; - return 0; -} -endef -export LINUX_MTD_TEST - -define LINUX_SPI_TEST -#include <linux/types.h> -#include <linux/spi/spidev.h> - -int main(int argc, char **argv) -{ - (void) argc; - (void) argv; - return 0; -} -endef -export LINUX_SPI_TEST - -define LINUX_I2C_TEST -#include <linux/i2c-dev.h> -#include <linux/i2c.h> - -int main(int argc, char **argv) -{ - (void) argc; - (void) argv; - return 0; -} -endef -export LINUX_I2C_TEST - define NI845X_TEST #include <ni845x.h> |