aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-21 12:32:23 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-21 12:32:23 +0200
commit01a0bd3f739ce1284a89641b7f41705c57b5bd04 (patch)
treebac1851f1776254731f9555ba0ad0c86a0daaebc
parent762eec1ce974ed8109c588bb12d0b590089ab4eb (diff)
downloadbuildroot-01a0bd3f739ce1284a89641b7f41705c57b5bd04.tar.gz
buildroot-01a0bd3f739ce1284a89641b7f41705c57b5bd04.tar.bz2
package/yaffs2utils: create $(HOST_DIR)/bin before installation
The yaffs2utils Makefile uses plain "cp", which fails when $(HOST_DIR)/bin doesn't exist. Fix that by creationg $(HOST_DIR)/bin beforehand. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/199339624 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/yaffs2utils/yaffs2utils.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/yaffs2utils/yaffs2utils.mk b/package/yaffs2utils/yaffs2utils.mk
index c2a87eac7b..d3a8bdc9d2 100644
--- a/package/yaffs2utils/yaffs2utils.mk
+++ b/package/yaffs2utils/yaffs2utils.mk
@@ -15,6 +15,7 @@ define HOST_YAFFS2UTILS_BUILD_CMDS
endef
define HOST_YAFFS2UTILS_INSTALL_CMDS
+ mkdir -p $(HOST_DIR)/bin
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLDIR=$(HOST_DIR)/bin install
endef