diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-02-27 12:10:24 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-03-31 06:03:46 +0300 |
commit | bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1 (patch) | |
tree | 0374b0b89db5475ce536c829d4574e2ca77576db /arch/s390/kernel/syscalls | |
parent | c1ea04d82778ed04ed0943eb85c55c221d9d3a5b (diff) | |
download | linux-bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1.tar.xz |
arch: syscalls: simplify uapi/kapi directory creation
$(shell ...) expands to empty. There is no need to assign it to _dummy.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/s390/kernel/syscalls')
-rw-r--r-- | arch/s390/kernel/syscalls/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/syscalls/Makefile b/arch/s390/kernel/syscalls/Makefile index b98f25029b8e..fb85e797946d 100644 --- a/arch/s390/kernel/syscalls/Makefile +++ b/arch/s390/kernel/syscalls/Makefile @@ -21,8 +21,7 @@ uapi: $(uapi-hdrs-y) # Create output directory if not already present -_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \ - $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') +$(shell mkdir -p $(uapi) $(kapi)) filechk_syshdr = $(CONFIG_SHELL) '$(systbl)' -H -a $(syshdr_abi_$(basetarget)) -f "$2" < $< |