diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2010-12-09 10:55:02 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-13 00:15:43 +0100 |
commit | e826187355173dca850a89838f0ab43b58caf4de (patch) | |
tree | 4557da690f967559882221d3110d11677385766a /package/cloop | |
parent | 1696823707d50530136bc872f36a9810a03910bb (diff) | |
download | buildroot-novena-e826187355173dca850a89838f0ab43b58caf4de.tar.gz buildroot-novena-e826187355173dca850a89838f0ab43b58caf4de.zip |
cloop: ensure target directory exist before copying into
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cloop')
-rw-r--r-- | package/cloop/cloop.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/cloop/cloop.mk b/package/cloop/cloop.mk index 0ed9ff0ba..4c160986c 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)) |