makefile: create destination folder when installing files

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
This commit is contained in:
Nicolas Dechesne
2016-06-03 17:15:53 +02:00
parent 8a1372cbfc
commit 6fb22ecfb1

View File

@@ -70,7 +70,7 @@ $1: $(call src_to_obj,$($1-srcs))
$3: $1
@echo "INSTALL $$<"
@install -m 755 $$< $$@
@install -D -m 755 $$< $$@
all-install += $3
endef