diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile index 77f2012ef..c172135ec 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -102,9 +102,15 @@ endif # Create the list of available applications (INSTALLED_APPS) +ifeq ($(CONFIG_WINDOWS_NATIVE),y) define ADD_BUILTIN -INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,) + INSTALLED_APPS += $(if $(wildcard $1\Makefile),$1,) endef +else +define ADD_BUILTIN + INSTALLED_APPS += $(if $(wildcard $1/Makefile),$1,) +endef +endif $(foreach BUILTIN, $(CONFIGURED_APPS), $(eval $(call ADD_BUILTIN,$(BUILTIN)))) |