summaryrefslogtreecommitdiffstats
path: root/rules/host-file.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-07 11:35:56 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-07 11:35:59 +0100
commite621f84c3679917f37172892e5665633348c1a0f (patch)
tree34afca152031100c2807c0d68752ec1c50cd56e0 /rules/host-file.make
parent6c14f9498bafcd51f0b635224f2c8c676d7238ac (diff)
downloadptxdist-e621f84c3679917f37172892e5665633348c1a0f.tar.gz
ptxdist-e621f84c3679917f37172892e5665633348c1a0f.tar.xz
file: move host 'file' out of sysroot-host/bin
host-file is only needed and usefull to generate the 'magic' for the target. It cannot be used for anything else, because it won't find its magic. This fixes this error when downloading files: file: could not find any magic files! Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-file.make')
-rw-r--r--rules/host-file.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/host-file.make b/rules/host-file.make
index ba796b562..cbc0cb42c 100644
--- a/rules/host-file.make
+++ b/rules/host-file.make
@@ -14,5 +14,8 @@
HOST_PACKAGES-$(PTXCONF_HOST_FILE) += host-file
HOST_FILE_CONF_TOOL := autoconf
+HOST_FILE_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --bindir=/bin/file
# vim: syntax=make