]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests: gpio: restore CFLAGS options
authorKent Gibson <warthog618@gmail.com>
Mon, 8 Nov 2021 01:28:51 +0000 (09:28 +0800)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 15 Nov 2021 13:28:03 +0000 (14:28 +0100)
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>
tools/testing/selftests/gpio/Makefile

index 42ea7d2aa844008b54f80a6e61cdef39a3a233ca..d7b312b44a62a8540bdb5f6c0e105010315de2f9 100644 (file)
@@ -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