mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
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>
This commit is contained in:

committed by
Nico Huber

parent
2dae0b764f
commit
d87fd9cf3d
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user