diff options
| author | Ha Thach <[email protected]> | 2023-08-07 16:13:44 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-07 16:13:44 +0700 |
| commit | 1b92108bc33bb87a2d7ca11dde739837c9571d4e (patch) | |
| tree | 66917f49f29f1d3d344648a97ecb8339904a52bb /examples | |
| parent | accc3fd737236dfbebc5ff5cc35369770a88fc60 (diff) | |
| parent | b173c71ffcc0133779ce4e42a5e08b5ab74382a0 (diff) | |
Merge pull request #2208 from kkitayam/fix_makefile_for_win
Fix makefile a warning when run on windows command prompt
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk index 4773189df..a590e34f7 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -116,7 +116,7 @@ INC += \ $(TOP)/$(FAMILY_PATH) \ $(TOP)/src \ -BOARD_UPPER = $(shell echo $(subst -,_,$(BOARD)) | tr a-z A-Z) +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)))))))))))))))))))))))))))) CFLAGS += -DBOARD_$(BOARD_UPPER) # Log level is mapped to TUSB DEBUG option |
