cloop: ensure target directory exist before copying into

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2010-12-09 10:55:02 +01:00 committed by Peter Korsgaard
parent 1696823707
commit e826187355
1 changed files with 4 additions and 3 deletions

View File

@ -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))
$(eval $(call GENTARGETS,package,cloop,host))