diff --git a/app/Makefile b/app/Makefile index 918ca905..6e704751 100755 --- a/app/Makefile +++ b/app/Makefile @@ -38,6 +38,7 @@ ifeq ($(TARGET_NAME),TARGET_NANOS) else HAVE_SWAP ?= 1 endif + DEFINES += HAVE_SWAP=$(HAVE_SWAP) endif # Display the target name @@ -52,7 +53,6 @@ endif ifeq ($(HAVE_SWAP), 1) $(info ************ HAVE_SWAP = [ENABLED]) - DEFINES += HAVE_SWAP=$(HAVE_SWAP) else $(info ************ HAVE_SWAP = [DISABLED]) endif