diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-17 03:25:05 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-04-17 04:36:22 +0200 |
commit | e5da1b85209d31044af7be529dfd355b836b4fad (patch) | |
tree | 3013a9039420d570dfe0517d05a1e2afebd2522f /package | |
parent | 65e209ca07416bc040fe98d16b60b6cb4304987f (diff) | |
download | buildroot-novena-e5da1b85209d31044af7be529dfd355b836b4fad.tar.gz buildroot-novena-e5da1b85209d31044af7be529dfd355b836b4fad.zip |
cramfs: fix installation
The installation procedure of cramfs was broken when
$(HOST_DIR)/usr/bin didn't exist (i.e, cramfsck was installed as
$(HOST_DIR)/usr/bin directly). Use install -D with a proper
destination argument to make it work.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/cramfs/cramfs.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/cramfs/cramfs.mk b/package/cramfs/cramfs.mk index 7b1924e81..9073ae542 100644 --- a/package/cramfs/cramfs.mk +++ b/package/cramfs/cramfs.mk @@ -16,8 +16,8 @@ define CRAMFS_BUILD_CMDS endef define CRAMFS_INSTALL_TARGET_CMDS - install -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin - install -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin + install -D -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin/mkcramfs + install -D -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin/cramfsck endef define HOST_CRAMFS_BUILD_CMDS @@ -25,8 +25,8 @@ define HOST_CRAMFS_BUILD_CMDS endef define HOST_CRAMFS_INSTALL_CMDS - install -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin - install -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin + install -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin/mkcramfs + install -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck endef $(eval $(call GENTARGETS,package,cramfs)) |