Use SCICLIENT Direct for unifalsh build
authorSivaraj R <sivaraj@ti.com>
Fri, 30 Oct 2020 04:26:00 +0000 (09:56 +0530)
committerSivaraj R <sivaraj@ti.com>
Fri, 30 Oct 2020 04:26:00 +0000 (09:56 +0530)
Signed-off-by: Sivaraj R <sivaraj@ti.com>
packages/ti/board/utils/uniflash/target/build/uart_make.mk

index dd89b355fd542970cfdf3dc0a941c44f29e71b72..c66fbbdd7264c7fd8f79ffdccf271b8c6c06b53d 100755 (executable)
@@ -97,8 +97,8 @@ COMP_LIST_COMMON += spi_dma
 endif
 
 ifneq ($(strip $(HS_SUFFIX)),) #if $(HS_SUFFIX) is non-empty
-  COMP_LIST_COMMON := $(filter-out sciclient,$(COMP_LIST_COMMON))
-  COMP_LIST_COMMON += sciclient$(HS_SUFFIX)
+  SCICLIENT := $(filter sciclient%,$(COMP_LIST_COMMON))
+  COMP_LIST_COMMON := $(subst $(SCICLIENT),$(SCICLIENT)_hs,$(COMP_LIST_COMMON))
 endif
 
 # Common source files and CFLAGS across all platforms and cores