Makefile.app: let gcc search header files under $(APP_DIR)/include first
* else "memory.h" of litenes may be resolved to the one in newlib
This commit is contained in:
parent
e2d6bc96d6
commit
9133a929d7
|
@ -1,12 +1,12 @@
|
|||
include $(AM_HOME)/Makefile.check
|
||||
$(info # Building $(NAME) [$(ARCH)] with AM_HOME {$(AM_HOME)})
|
||||
|
||||
APP_DIR ?= $(shell pwd)
|
||||
INC_DIR += $(APP_DIR)/include/
|
||||
DST_DIR ?= $(APP_DIR)/build/$(ARCH)/
|
||||
BINARY ?= $(APP_DIR)/build/$(NAME)-$(ARCH)
|
||||
BINARY_REL = $(shell realpath $(BINARY) --relative-to .)
|
||||
|
||||
include $(AM_HOME)/Makefile.check
|
||||
$(info # Building $(NAME) [$(ARCH)] with AM_HOME {$(AM_HOME)})
|
||||
|
||||
default: image
|
||||
|
||||
LIBS += klib compiler-rt
|
||||
|
|
Loading…
Reference in New Issue