@@ -319,11 +319,11 @@ endif
319
319
320
320
# #######################################################################
321
321
# 1.5.x vendor - defaults to arduino
322
- ifndef VENDOR
323
- VENDOR = arduino
324
- $(call show_config_variable,VENDOR ,[DEFAULT])
322
+ ifndef ARDMK_VENDOR
323
+ ARDMK_VENDOR = arduino
324
+ $(call show_config_variable,ARDMK_VENDOR ,[DEFAULT])
325
325
else
326
- $(call show_config_variable,VENDOR ,[USER])
326
+ $(call show_config_variable,ARDMK_VENDOR ,[USER])
327
327
endif
328
328
329
329
# #######################################################################
@@ -474,7 +474,7 @@ $(call show_config_variable,ARDUINO_LIB_PATH,[COMPUTED],(from ARDUINO_DIR))
474
474
ifndef ARDUINO_PLATFORM_LIB_PATH
475
475
ifeq ($(shell expr $(ARDUINO_VERSION) '>' 150), 1)
476
476
# only for 1.5
477
- ARDUINO_PLATFORM_LIB_PATH = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /libraries
477
+ ARDUINO_PLATFORM_LIB_PATH = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /libraries
478
478
$(call show_config_variable,ARDUINO_PLATFORM_LIB_PATH,[COMPUTED],(from ARDUINO_DIR))
479
479
endif
480
480
else
@@ -511,14 +511,14 @@ ifdef ALTERNATE_CORE_PATH
511
511
else
512
512
513
513
ifndef ARDUINO_VAR_PATH
514
- ARDUINO_VAR_PATH = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /variants
514
+ ARDUINO_VAR_PATH = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /variants
515
515
$(call show_config_variable,ARDUINO_VAR_PATH,[COMPUTED],(from ARDUINO_DIR))
516
516
else
517
517
$(call show_config_variable,ARDUINO_VAR_PATH,[USER])
518
518
endif
519
519
520
520
ifndef BOARDS_TXT
521
- BOARDS_TXT = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /boards.txt
521
+ BOARDS_TXT = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /boards.txt
522
522
$(call show_config_variable,BOARDS_TXT,[COMPUTED],(from ARDUINO_DIR))
523
523
else
524
524
$(call show_config_variable,BOARDS_TXT,[USER])
@@ -704,16 +704,16 @@ else
704
704
$(call show_config_variable,OBJDIR,[USER])
705
705
endif
706
706
707
- # Now that we have ARDUINO_DIR, VENDOR , ARCHITECTURE and CORE,
707
+ # Now that we have ARDUINO_DIR, ARDMK_VENDOR , ARCHITECTURE and CORE,
708
708
# we can set ARDUINO_CORE_PATH.
709
709
ifndef ARDUINO_CORE_PATH
710
710
ifeq ($(strip $(CORE)),)
711
- ARDUINO_CORE_PATH = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /cores/arduino
711
+ ARDUINO_CORE_PATH = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /cores/arduino
712
712
$(call show_config_variable,ARDUINO_CORE_PATH,[DEFAULT])
713
713
else
714
714
ARDUINO_CORE_PATH = $(ALTERNATE_CORE_PATH ) /cores/$(CORE )
715
715
ifeq ($(wildcard $(ARDUINO_CORE_PATH)),)
716
- ARDUINO_CORE_PATH = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /cores/$(CORE )
716
+ ARDUINO_CORE_PATH = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /cores/$(CORE )
717
717
$(call show_config_variable,ARDUINO_CORE_PATH,[COMPUTED],(from ARDUINO_DIR, BOARD_TAG and boards.txt))
718
718
else
719
719
$(call show_config_variable,ARDUINO_CORE_PATH,[COMPUTED],(from ALTERNATE_CORE_PATH, BOARD_TAG and boards.txt))
@@ -1121,7 +1121,7 @@ endif
1121
1121
1122
1122
# either calculate parent dir from arduino dir, or user-defined path
1123
1123
ifndef BOOTLOADER_PARENT
1124
- BOOTLOADER_PARENT = $(ARDUINO_DIR ) /hardware/$(VENDOR ) /$(ARCHITECTURE ) /bootloaders
1124
+ BOOTLOADER_PARENT = $(ARDUINO_DIR ) /hardware/$(ARDMK_VENDOR ) /$(ARCHITECTURE ) /bootloaders
1125
1125
$(call show_config_variable,BOOTLOADER_PARENT,[COMPUTED],(from ARDUINO_DIR))
1126
1126
else
1127
1127
$(call show_config_variable,BOOTLOADER_PARENT,[USER])
0 commit comments