build: Add rule for building host-specific object files

This commit is contained in:
Diego Biurrun 2013-12-01 06:01:51 +01:00
parent ad47771024
commit 5a9fcc7d25

View File

@ -46,6 +46,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
%.o: %.S
$(COMPILE_S)
%_host.o: %.c
$(COMPILE_HOSTC)
%.i: %.c
$(CC) $(CCFLAGS) $(CC_E) $<