The kernel already depends on it, but module-init-tools may be built
earlier and if we don't add it here to the dependency chain, the build
order could be module-init-tools -> host-elf-h-compat -> kernel which
would not work on systems that have no /usr/include/elf.h.

Signed-off-by: Bernhard Walle <[email protected]>
---
 rules/module-init-tools.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/rules/module-init-tools.in b/rules/module-init-tools.in
index 765de6b..3d98fd0 100644
--- a/rules/module-init-tools.in
+++ b/rules/module-init-tools.in
@@ -4,6 +4,7 @@
 menuconfig MODULE_INIT_TOOLS
        tristate
        prompt "module-init-tools             "
+       select HOST_ELF_H_COMPAT
        help
          This package contains a set of programs for loading, inserting
          and removing kernel modules for Linux (versions 2.5.48 and
-- 
1.7.7.4


-- 
ptxdist mailing list
[email protected]

Reply via email to