Set ARDMK_VENDOR
differently if OS is Arch Linux.
This commit is contained in:
parent
bc5092f25b
commit
c18ad9fba5
1 changed files with 6 additions and 1 deletions
|
@ -328,7 +328,12 @@ endif
|
||||||
########################################################################
|
########################################################################
|
||||||
# 1.5.x vendor - defaults to arduino
|
# 1.5.x vendor - defaults to arduino
|
||||||
ifndef ARDMK_VENDOR
|
ifndef ARDMK_VENDOR
|
||||||
|
ARCH_LINUX := $(shell grep "Arch Linux" /etc/os-release 2>/dev/null)
|
||||||
|
ifdef ARCH_LINUX
|
||||||
|
ARDMK_VENDOR = archlinux-arduino
|
||||||
|
else
|
||||||
ARDMK_VENDOR = arduino
|
ARDMK_VENDOR = arduino
|
||||||
|
endif
|
||||||
$(call show_config_variable,ARDMK_VENDOR,[DEFAULT])
|
$(call show_config_variable,ARDMK_VENDOR,[DEFAULT])
|
||||||
else
|
else
|
||||||
$(call show_config_variable,ARDMK_VENDOR,[USER])
|
$(call show_config_variable,ARDMK_VENDOR,[USER])
|
||||||
|
|
Loading…
Reference in a new issue