Added KDEFINE (__KERNEL__) to EXTRAFLAGS for libboard.

This commit is contained in:
Johannes Schock 2020-09-04 17:35:01 +02:00 committed by Xiang Xiao
parent 18b47f9663
commit 9e69b87aa3
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ $(KBIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
board$(DELIM)libboard$(LIBEXT):
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRAFLAGS="$(EXTRAFLAGS)"
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT) EXTRAFLAGS="$(KDEFINE) $(EXTRAFLAGS)"
nuttx$(EXEEXT): $(HEAD_OBJ) board$(DELIM)libboard$(LIBEXT)
$(Q) echo "LD: nuttx"