From 8cee2abae6628a680d24e82e56fa0f887a4dfa33 Mon Sep 17 00:00:00 2001 From: Richard Weickelt Date: Tue, 6 Feb 2018 16:27:31 +0100 Subject: [PATCH] List only directories --- arch/platform/simplelink/Makefile.simplelink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/platform/simplelink/Makefile.simplelink b/arch/platform/simplelink/Makefile.simplelink index 1aa17a307..25f6c2471 100644 --- a/arch/platform/simplelink/Makefile.simplelink +++ b/arch/platform/simplelink/Makefile.simplelink @@ -8,7 +8,7 @@ ifndef SIMPLELINK_SDK $(error SIMPLELINK_SDK not defined! You must specify where the SimpleLink SDK resides!) endif -AVAILABLE_BOARDS := $(shell ls $(SIMPLELINK_SDK)/source/ti/boards) +AVAILABLE_BOARDS := $(shell ls -d $(SIMPLELINK_SDK)/source/ti/boards) AVAILABLE_BOARDS += CUSTOM # Allows an own board file in the application project ifndef SIMPLELINK_BOARD