update readme

This commit is contained in:
hathach
2018-08-07 21:21:12 +07:00
parent c1baf25c69
commit bcd3431d26
3 changed files with 56 additions and 23 deletions

View File

@ -86,8 +86,7 @@ remduplicates = $(strip $(if $1,$(firstword $1) $(call remduplicates,$(filter-ou
#*********************************
ifeq ($(BOARD),)
$(info You must provide a BOARD parameter with 'BOARD=')
$(info Possible values are:)
$(info $(sort $(subst .h,,$(subst src/boards/,,$(wildcard src/boards/*)))))
$(info Supported boards are: $(sort $(subst .h,,$(subst src/boards/,,$(wildcard src/boards/*)))))
$(error BOARD not defined)
else
ifeq ($(wildcard src/boards/$(BOARD).h),)