From d87fd9cf3d1e44b2f702dc6df433f6edbd89d15e Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Wed, 20 Oct 2021 22:08:24 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/58627 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- Makefile.d/linux_i2c_test.c | 9 +++++++++ Makefile.d/linux_mtd_test.c | 8 ++++++++ Makefile.d/linux_spi_test.c | 9 +++++++++ 3 files changed, 26 insertions(+) create mode 100644 Makefile.d/linux_i2c_test.c create mode 100644 Makefile.d/linux_mtd_test.c create mode 100644 Makefile.d/linux_spi_test.c (limited to 'Makefile.d') diff --git a/Makefile.d/linux_i2c_test.c b/Makefile.d/linux_i2c_test.c new file mode 100644 index 00000000..768226ba --- /dev/null +++ b/Makefile.d/linux_i2c_test.c @@ -0,0 +1,9 @@ +#include +#include + +int main(int argc, char **argv) +{ + (void)argc; + (void)argv; + return 0; +} diff --git a/Makefile.d/linux_mtd_test.c b/Makefile.d/linux_mtd_test.c new file mode 100644 index 00000000..d254e242 --- /dev/null +++ b/Makefile.d/linux_mtd_test.c @@ -0,0 +1,8 @@ +#include + +int main(int argc, char **argv) +{ + (void)argc; + (void)argv; + return 0; +} diff --git a/Makefile.d/linux_spi_test.c b/Makefile.d/linux_spi_test.c new file mode 100644 index 00000000..a4d26578 --- /dev/null +++ b/Makefile.d/linux_spi_test.c @@ -0,0 +1,9 @@ +#include +#include + +int main(int argc, char **argv) +{ + (void)argc; + (void)argv; + return 0; +} -- cgit v1.2.3