summaryrefslogtreecommitdiffstats
path: root/Makefile.include
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2021-10-26 12:44:36 +0200
committerNico Huber <nico.h@gmx.de>2021-11-07 16:59:32 +0000
commit2dae0b764f23fa3359f39b88d889205940d3c60f (patch)
tree2a0a0fa17ec76e26960853b63802f9467f5c244c /Makefile.include
parent47caa9ceb1437ccd4de4e0da6b2fb307bc68d6e3 (diff)
downloadflashrom-2dae0b764f23fa3359f39b88d889205940d3c60f.tar.gz
flashrom-2dae0b764f23fa3359f39b88d889205940d3c60f.tar.bz2
flashrom-2dae0b764f23fa3359f39b88d889205940d3c60f.zip
Makefile: Revise utsname and clock_gettime test
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. HAS_CLOCK_GETTIME=no replaces DISABLE_CLOCK_GETTIME=yes This is in preparation for further changes. Change-Id: Ie1f43b3d5a8ad79bff3f9bbc21f359ec35abc42a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58618 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.include25
1 files changed, 0 insertions, 25 deletions
diff --git a/Makefile.include b/Makefile.include
index 2b5a3447d..0ea1234e9 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -130,19 +130,6 @@ enum ftdi_chip_type type = TYPE_232H;
endef
export FTDI_232H_TEST
-define UTSNAME_TEST
-#include <sys/utsname.h>
-struct utsname osinfo;
-int main(int argc, char **argv)
-{
- (void) argc;
- (void) argv;
- uname (&osinfo);
- return 0;
-}
-endef
-export UTSNAME_TEST
-
define LINUX_MTD_TEST
#include <mtd/mtd-user.h>
@@ -181,18 +168,6 @@ int main(int argc, char **argv)
endef
export LINUX_I2C_TEST
-define CLOCK_GETTIME_TEST
-#include <time.h>
-
-int main(int argc, char **argv)
-{
- struct timespec res;
- clock_gettime(CLOCK_REALTIME, &res);
- return 0;
-}
-endef
-export CLOCK_GETTIME_TEST
-
define NI845X_TEST
#include <ni845x.h>