summaryrefslogtreecommitdiffstats
path: root/endiantest.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-10-12 15:54:06 +0200
committerNico Huber <nico.h@gmx.de>2021-10-15 14:35:29 +0000
commitba1c5eb12591c306604929b94b9046a37170c5ff (patch)
tree51c3425081abcb4d44769b2227a4e966d39a9560 /endiantest.c
parentcf542aa1ce3caabe5184fde77a39bbd3cca763ef (diff)
downloadflashrom-ba1c5eb12591c306604929b94b9046a37170c5ff.tar.gz
flashrom-ba1c5eb12591c306604929b94b9046a37170c5ff.tar.bz2
flashrom-ba1c5eb12591c306604929b94b9046a37170c5ff.zip
Makefile: copy determination test for the endian to Makefile.d
Copy the test code for endian detection in an extra directory to split it from the main flashrom code. Change-Id: I0c2420fd60d7d6a23c94c9962b06bfd7f3c86ad8 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58270 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'endiantest.c')
-rw-r--r--endiantest.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/endiantest.c b/endiantest.c
deleted file mode 100644
index a73b908a4..000000000
--- a/endiantest.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "platform.h"
-#if defined(__FLASHROM_LITTLE_ENDIAN__)
-little
-#else
-big
-#endif