aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2021-11-08 09:28:51 +0800
committerBartosz Golaszewski <brgl@bgdev.pl>2021-11-15 14:28:03 +0100
commit4f4d0af7b2d997635b08fabd748673eff1bb12d6 (patch)
tree00d860eefabb50e1a5c5d1a63d7d7e304055db00 /tools
parentselftests: gpio: fix uninitialised variable warning (diff)
downloadlinux-dev-4f4d0af7b2d997635b08fabd748673eff1bb12d6.tar.xz
linux-dev-4f4d0af7b2d997635b08fabd748673eff1bb12d6.zip
selftests: gpio: restore CFLAGS options
All the CFLAGS options were incorrectly removed in the recent rework of the GPIO selftests. While some of the flags were specific to the old implementation the remainder are still relevant. Restore those options. Signed-off-by: Kent Gibson <warthog618@gmail.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/gpio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile
index 42ea7d2aa844..d7b312b44a62 100644
--- a/tools/testing/selftests/gpio/Makefile
+++ b/tools/testing/selftests/gpio/Makefile
@@ -3,6 +3,6 @@
TEST_PROGS := gpio-mockup.sh
TEST_FILES := gpio-mockup-sysfs.sh
TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev
-CFLAGS += -I../../../../usr/include
+CFLAGS += -O2 -g -Wall -I../../../../usr/include/
include ../lib.mk