From 5a9fcc7d2524d6c0f86b2855019ee9f4cf360276 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 1 Dec 2013 06:01:51 +0100 Subject: build: Add rule for building host-specific object files --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 20ce686fb6..25c3b32d40 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC) %.o: %.S $(COMPILE_S) +%_host.o: %.c + $(COMPILE_HOSTC) + %.i: %.c $(CC) $(CCFLAGS) $(CC_E) $< -- cgit v1.2.3