From 747a4d6bf5a7d9897010fcaf403010f956ff4c7c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 4 Jan 2014 09:05:10 -0600 Subject: apps/builtin: Native Windows build fixes from Max Holtzberg --- apps/ChangeLog.txt | 2 ++ apps/builtin/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index d09120a68..d2dd1df9d 100644 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -752,4 +752,6 @@ apps/platform/stm3240g-eval/up_cxxinitialize.c: Now it is available in user-space in the kernel mode build (2013-12-29). * apps/examples/mount/Kconfig: Fill in empty Kconfig file (2013-12-31). + * builtin/Makefile: Fixes for native Windows build from Max Holtzberg + (2014-1-4). diff --git a/apps/builtin/Makefile b/apps/builtin/Makefile index f89532871..9b64e7b17 100644 --- a/apps/builtin/Makefile +++ b/apps/builtin/Makefile @@ -58,7 +58,7 @@ endif endif ROOTDEPPATH = --dep-path . -VPATH = +VPATH = # Build Targets @@ -78,7 +78,7 @@ builtin_list.h: registry$(DELIM).updated $(call DELFILE, builtin_list.h) $(Q) touch builtin_list.h ifeq ($(CONFIG_WINDOWS_NATIVE),y) - $(Q) for /f %%G in ('dir /b registry\*.bdat`) do ( type registry\%%G >> builtin_list.h ) + $(Q) (for /f %%G in ('dir /b registry\*.bdat') do ( type registry\%%G >> builtin_list.h )) || echo "" else $(Q) ( \ filelist=`ls registry/*.bdat 2>/dev/null || echo ""`; \ @@ -92,7 +92,7 @@ builtin_proto.h: registry$(DELIM).updated $(call DELFILE, builtin_proto.h) $(Q) touch builtin_proto.h ifeq ($(CONFIG_WINDOWS_NATIVE),y) - $(Q) for /f %%G in ('dir /b registry\*.pdat`) do ( type registry\%%G >> builtin_proto.h ) + $(Q) (for /f %%G in ('dir /b registry\*.pdat') do ( type registry\%%G >> builtin_proto.h )) || echo "" else $(Q) ( \ filelist=`ls registry/*.pdat 2>/dev/null || echo ""`; \ -- cgit v1.2.3