kumquat-buildroot/package/yaffs2utils/yaffs2utils.mk
Thomas Petazzoni 01a0bd3f73 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>
2019-04-21 12:32:23 +02:00

23 lines
636 B
Makefile

################################################################################
#
# yaffs2utils
#
################################################################################
YAFFS2UTILS_VERSION = 0.2.9
YAFFS2UTILS_SOURCE = $(YAFFS2UTILS_VERSION).tar.gz
YAFFS2UTILS_SITE = https://yaffs2utils.googlecode.com/files
YAFFS2UTILS_LICENSE = GPL-2.0
YAFFS2UTILS_LICENSE_FILES = COPYING
define HOST_YAFFS2UTILS_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
endef
define HOST_YAFFS2UTILS_INSTALL_CMDS
mkdir -p $(HOST_DIR)/bin
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLDIR=$(HOST_DIR)/bin install
endef
$(eval $(host-generic-package))