summaryrefslogtreecommitdiff
path: root/kdump
diff options
context:
space:
mode:
authorJamey Sharp <jamey@thetovacompany.com>2008-05-15 17:03:09 -0700
committerSimon Horman <horms@verge.net.au>2008-05-21 16:15:51 +1000
commit6f95d707544ab3417673990e6a78b27b79737856 (patch)
tree631be109c55f0c7e1d3da56d0549ae3a4b62d5aa /kdump
parent3c5bb06948881b3e31c783c19edef74275794280 (diff)
Use target CC and LD to build kdump and kexec_test.
Signed-off-by: Jamey Sharp <jamey@thetovacompany.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kdump')
-rw-r--r--kdump/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kdump/Makefile b/kdump/Makefile
index 4a788f9..1e2b72c 100644
--- a/kdump/Makefile
+++ b/kdump/Makefile
@@ -15,6 +15,7 @@ clean += $(KDUMP_OBJS) $(KDUMP_DEPS) $(KDUMP) $(KDUMP_MANPAGE)
-include $(KDUMP_DEPS)
+$(KDUMP): CC=$(TARGET_CC)
$(KDUMP): $(KDUMP_OBJS)
@$(MKDIR) -p $(@D)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $(KDUMP_OBJS)