summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2010-12-09 09:55:02 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-12-12 23:15:43 (GMT)
commite826187355173dca850a89838f0ab43b58caf4de (patch)
tree4557da690f967559882221d3110d11677385766a
parent1696823707d50530136bc872f36a9810a03910bb (diff)
downloadbuildroot-e826187355173dca850a89838f0ab43b58caf4de.tar.gz
buildroot-e826187355173dca850a89838f0ab43b58caf4de.tar.bz2
cloop: ensure target directory exist before copying into
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/cloop/cloop.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk
index 0ed9ff0..4c16098 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))