summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index f4b71ecfb1..2a59826a67 100644
--- a/common.mak
+++ b/common.mak
@@ -57,6 +57,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
%.o: %.S
$(COMPILE_S)
+%_host.o: %.c
+ $(COMPILE_HOSTC)
+
%.i: %.c
$(CC) $(CCFLAGS) $(CC_E) $<