From: Lionel Landwerlin Date: Thu, 9 Dec 2010 09:55:02 +0000 (+0100) Subject: cloop: ensure target directory exist before copying into X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e826187355173dca850a89838f0ab43b58caf4de;p=buildroot.git cloop: ensure target directory exist before copying into Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index 0ed9ff0ba7..4c160986c9 100644 --- a/package/cloop/cloop.mk +++ b/package/cloop/cloop.mk @@ -10,9 +10,10 @@ define HOST_CLOOP_BUILD_CMDS endef define HOST_CLOOP_INSTALL_CMDS - install -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin - install -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin + $(INSTALL) -m 0755 -d $(HOST_DIR)/usr/bin + $(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/usr/bin + $(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/usr/bin endef $(eval $(call GENTARGETS,package,cloop)) -$(eval $(call GENTARGETS,package,cloop,host)) \ No newline at end of file +$(eval $(call GENTARGETS,package,cloop,host))