Merge pull request #533 from doronbehar/detect-archlinux

Set `ARDMK_VENDOR` differently if OS is Arch Linux.
This commit is contained in:
Simon John 2018-02-24 16:02:18 +00:00 committed by GitHub
commit c10eaa4f48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -326,7 +326,12 @@ endif
########################################################################
# 1.5.x vendor - defaults to arduino
ifndef ARDMK_VENDOR
ARDMK_VENDOR = arduino
ARCH_LINUX := $(shell grep "Arch Linux" /etc/os-release 2>/dev/null)
ifdef ARCH_LINUX
ARDMK_VENDOR = archlinux-arduino
else
ARDMK_VENDOR = arduino
endif
$(call show_config_variable,ARDMK_VENDOR,[DEFAULT])
else
$(call show_config_variable,ARDMK_VENDOR,[USER])