summaryrefslogtreecommitdiffstats
path: root/rules/dosfstools.make
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2008-08-11 11:16:21 +0000
committerWolfram Sang <w.sang@pengutronix.de>2008-08-11 11:16:21 +0000
commit0255289d294cd89e693c39b08b8d743eb1f20307 (patch)
tree333b357de5699a8e49935275dc6ce00b1c307826 /rules/dosfstools.make
parent14c1bf9c9f66dea21bbbbded3d6add340666770e (diff)
downloadptxdist-0255289d294cd89e693c39b08b8d743eb1f20307.tar.gz
ptxdist-0255289d294cd89e693c39b08b8d743eb1f20307.tar.xz
* add proper fsck.* and mkfs.* symlinks for dos and ext2 tools
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8738 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dosfstools.make')
-rw-r--r--rules/dosfstools.make12
1 files changed, 9 insertions, 3 deletions
diff --git a/rules/dosfstools.make b/rules/dosfstools.make
index 334f1db97..75dcb0e1e 100644
--- a/rules/dosfstools.make
+++ b/rules/dosfstools.make
@@ -2,7 +2,7 @@
# $Id: template 2606 2005-05-10 21:49:41Z rsc $
#
# Copyright (C) 2005 by Steven Scholz <steven.scholz@imc-berlin.de>
-#
+#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
@@ -110,14 +110,20 @@ $(STATEDIR)/dosfstools.targetinstall: $(dosfstools_targetinstall_deps_default)
ifdef PTXCONF_DOSFSTOOLS_MKDOSFS
@$(call install_copy, dosfstools, 0, 0, 0755, $(DOSFSTOOLS_DIR)/mkdosfs/mkdosfs, /sbin/mkdosfs)
ifdef PTXCONF_DOSFSTOOLS_MKDOSFS_MSDOS
- @$(call install_link, dosfstools, mkdosfs, /sbin/mkfs.msdos)
+ @$(call install_link, dosfstools, /sbin/mkdosfs, /sbin/mkfs.msdos)
endif
ifdef PTXCONF_DOSFSTOOLS_MKDOSFS_VFAT
- @$(call install_link, dosfstools, mkdosfs, /sbin/mkfs.vfat)
+ @$(call install_link, dosfstools, /sbin/mkdosfs, /sbin/mkfs.vfat)
endif
endif
ifdef PTXCONF_DOSFSTOOLS_DOSFSCK
@$(call install_copy, dosfstools, 0, 0, 0755, $(DOSFSTOOLS_DIR)/dosfsck/dosfsck, /sbin/dosfsck)
+ifdef PTXCONF_DOSFSTOOLS_DOSFSCK_MSDOS
+ @$(call install_link, dosfstools, /sbin/dosfsck, /sbin/fsck.msdos)
+endif
+ifdef PTXCONF_DOSFSTOOLS_DOSFSCK_VFAT
+ @$(call install_link, dosfstools, /sbin/dosfsck, /sbin/fsck.vfat)
+endif
endif
@$(call install_finish, dosfstools)