![Thomas Petazzoni](/assets/img/avatar_default.png)
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>
23 lines
636 B
Makefile
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))
|