diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-02-27 10:10:24 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-03-31 05:03:46 +0200 |
commit | bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1 (patch) | |
tree | 0374b0b89db5475ce536c829d4574e2ca77576db /arch/alpha | |
parent | usr/include: replace extra-y with always-y (diff) | |
download | linux-bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1.tar.xz linux-bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1.zip |
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/alpha')
-rw-r--r-- | arch/alpha/kernel/syscalls/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/kernel/syscalls/Makefile b/arch/alpha/kernel/syscalls/Makefile index 6713c65a25e1..b265e4bc16c2 100644 --- a/arch/alpha/kernel/syscalls/Makefile +++ b/arch/alpha/kernel/syscalls/Makefile @@ -2,8 +2,7 @@ kapi := arch/$(SRCARCH)/include/generated/asm uapi := arch/$(SRCARCH)/include/generated/uapi/asm -_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \ - $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') +$(shell mkdir -p $(uapi) $(kapi)) syscall := $(src)/syscall.tbl syshdr := $(srctree)/scripts/syscallhdr.sh |