build: Add rule for building host-specific object files
This commit is contained in:
parent
ad47771024
commit
5a9fcc7d25
1 changed files with 3 additions and 0 deletions
3
Makefile
3
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) $<
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue