In util/Makefile, the bin-to-hex utility was being built with the
cross-compiler, not the host compiler. This patch fixes that.
Signed-off-by: David N. Lombard, <[EMAIL PROTECTED]>
--- kexec-tools-testing-20080324/util/Makefile.orig 2008-03-24
01:30:57.000000000 -0700
+++ kexec-tools-testing-20080324/util/Makefile 2008-05-05 13:10:09.000000000
-0700
@@ -2,10 +2,7 @@ BIN_TO_HEX:= bin/bin-to-hex
$(BIN_TO_HEX): $(srcdir)/util/bin-to-hex.c
@$(MKDIR) -p $(@D)
- $(LINK.o) -o $@ $^
+ $(BUILD_CC) $(BUILD_CFLAGS) -o $@ $<
-
-$(BIN_TO_HEX): CC=$(BUILD_CC)
-$(BIN_TO_HEX): CFLAGS=$(BUILD_CFLAGS)
dist += util/Makefile util/bin-to-hex.c
clean += util/bin-to-hex.o $(BIN_TO_HEX)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec