Skip to content

Commit b173c71

Browse files
committed
Change to subst to work on windows command prompt
1 parent 3db9452 commit b173c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/make.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ INC += \
116116
$(TOP)/$(FAMILY_PATH) \
117117
$(TOP)/src \
118118

119-
BOARD_UPPER = $(shell echo $(subst -,_,$(BOARD)) | tr a-z A-Z)
119+
BOARD_UPPER = $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(subst f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst j,J,$(subst k,K,$(subst l,L,$(subst m,M,$(subst n,N,$(subst o,O,$(subst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst y,Y,$(subst z,Z,$(subst -,_,$(BOARD))))))))))))))))))))))))))))
120120
CFLAGS += -DBOARD_$(BOARD_UPPER)
121121

122122
# Log level is mapped to TUSB DEBUG option

0 commit comments

Comments
 (0)