From 3512c3aa5e250c1d3f2c9b2d8b3290b816ad4a46 Mon Sep 17 00:00:00 2001 From: Anatol Ivanov <anatoleech@mail.ru> Date: Mon, 5 Nov 2018 16:09:03 -0600 Subject: [PATCH] apps/Makefile: Fix Windows native build patch extension. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ecd498a4..845517cc5 100644 --- a/Makefile +++ b/Makefile @@ -35,10 +35,15 @@ # ############################################################################ -APPDIR = ${shell pwd} TOPDIR ?= $(APPDIR)/import - -include $(TOPDIR)/Make.defs + +ifeq ($(CONFIG_WINDOWS_NATIVE),y) + APPDIR = ${shell echo %CD%} +else + APPDIR = ${shell pwd} +endif + -include $(APPDIR)/Make.defs # Application Directories