OSDN Git Service

s390: drop redundant directory creation from tools Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 May 2019 07:54:26 +0000 (16:54 +0900)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 4 Jun 2019 13:03:34 +0000 (15:03 +0200)
As you can see in scripts/Kbuild.include, the filechk creates the
parent directory of the target as needed.

This Makefile does not need to explicitly create the directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/tools/Makefile

index 8fb66c9..4864ea5 100644 (file)
@@ -16,9 +16,6 @@ hostprogs-y               += gen_opcode_table
 
 HOSTCFLAGS_gen_facilities.o += $(LINUXINCLUDE)
 
-# Ensure output directory exists
-_dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')
-
 filechk_facility-defs.h = $(obj)/gen_facilities
 
 filechk_dis-defs.h = \