linux-stable/tools/gpio
Masahiro Yamada 5c8166419a kbuild: replace $(if A,A,B) with $(or A,B)
$(or ...) is available since GNU Make 3.81, and useful to shorten the
code in some places.

Covert as follows:

  $(if A,A,B)  -->  $(or A,B)

This patch also converts:

  $(if A, A, B) --> $(or A, B)

Strictly speaking, the latter is not an equivalent conversion because
GNU Make keeps spaces after commas; if A is not empty, $(if A, A, B)
expands to " A", while $(or A, B) expands to "A".

Anyway, preceding spaces are not significant in the code hunks I touched.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2022-02-15 12:25:56 +09:00
..
.gitignore This is the bulk of GPIO development for the v5.7 kernel cycle. 2020-04-04 10:27:00 -07:00
Build tools: gpio: implement gpio-watch 2020-02-12 12:05:47 +01:00
Makefile kbuild: replace $(if A,A,B) with $(or A,B) 2022-02-15 12:25:56 +09:00
gpio-event-mon.c tools: gpio: fix %llu warning in gpio-event-mon.c 2021-01-18 10:05:29 +01:00
gpio-hammer.c tools: gpio: port gpio-hammer to v2 uAPI 2020-09-30 10:57:20 +02:00
gpio-utils.c tools: gpio-utils: fix various kernel-doc warnings 2021-03-26 14:56:19 +01:00
gpio-utils.h tools: gpio: remove uAPI v1 code no longer used by selftests 2021-02-15 11:43:28 +01:00
gpio-watch.c tools: gpio: fix %llu warning in gpio-watch.c 2021-01-18 10:05:35 +01:00
lsgpio.c tools: gpio: add support for reporting realtime event clock to lsgpio 2020-12-05 23:22:47 +01:00