diff --git a/arch/arm/src/Makefile b/arch/arm/src/Makefile index 2d7ac3f18e..c7f87a68b1 100644 --- a/arch/arm/src/Makefile +++ b/arch/arm/src/Makefile @@ -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"