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>
(cherry picked from commit 01a0bd3f73)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2019-04-21 12:32:23 +02:00 committed by Peter Korsgaard
parent df1d8b6b9e
commit 71149c2afa

View File

@ -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