diff options
author | Masahiro Yamada | 2022-02-27 18:10:24 +0900 |
---|---|---|
committer | Masahiro Yamada | 2022-03-31 12:03:46 +0900 |
commit | bbc90bc1bd4a63121bae9cbfafe1e1f0beaf24b1 (patch) | |
tree | 0374b0b89db5475ce536c829d4574e2ca77576db /arch/x86/entry | |
parent | c1ea04d82778ed04ed0943eb85c55c221d9d3a5b (diff) |
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/x86/entry')
-rw-r--r-- | arch/x86/entry/syscalls/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/entry/syscalls/Makefile b/arch/x86/entry/syscalls/Makefile index 5b3efed0e4e8..9104039cd8f2 100644 --- a/arch/x86/entry/syscalls/Makefile +++ b/arch/x86/entry/syscalls/Makefile @@ -3,8 +3,7 @@ out := arch/$(SRCARCH)/include/generated/asm uapi := arch/$(SRCARCH)/include/generated/uapi/asm # Create output directory if not already present -_dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') \ - $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') +$(shell mkdir -p $(out) $(uapi)) syscall32 := $(src)/syscall_32.tbl syscall64 := $(src)/syscall_64.tbl |