@@ -40,11 +40,11 @@ DEBUG = -O2 | |||||
GCC_ARCH := $(shell gcc -dumpmachine) | GCC_ARCH := $(shell gcc -dumpmachine) | ||||
ifeq ($(OS),Windows_NT) | ifeq ($(OS),Windows_NT) | ||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
else | else | ||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
endif | endif | ||||
CC = $(CROSS_COMPILE)gcc | CC = $(CROSS_COMPILE)gcc | ||||
@@ -36,11 +36,11 @@ DEBUG = -O2 | |||||
GCC_ARCH := $(shell gcc -dumpmachine) | GCC_ARCH := $(shell gcc -dumpmachine) | ||||
ifeq ($(OS),Windows_NT) | ifeq ($(OS),Windows_NT) | ||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
else | else | ||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
endif | endif | ||||
CC = $(CROSS_COMPILE)gcc | CC = $(CROSS_COMPILE)gcc | ||||
@@ -40,11 +40,11 @@ DEBUG = -O2 | |||||
GCC_ARCH := $(shell gcc -dumpmachine) | GCC_ARCH := $(shell gcc -dumpmachine) | ||||
ifeq ($(OS),Windows_NT) | ifeq ($(OS),Windows_NT) | ||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
else | else | ||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
endif | endif | ||||
CC = $(CROSS_COMPILE)gcc | CC = $(CROSS_COMPILE)gcc | ||||
@@ -35,11 +35,11 @@ DEBUG = -O2 | |||||
GCC_ARCH := $(shell gcc -dumpmachine) | GCC_ARCH := $(shell gcc -dumpmachine) | ||||
ifeq ($(OS),Windows_NT) | ifeq ($(OS),Windows_NT) | ||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
else | else | ||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
ifneq ($(GCC_ARCH),arm-linux-gnueabihf) | |||||
CROSS_COMPILE ?= arm-linux-gnueabihf- | |||||
endif | |||||
endif | endif | ||||
CC = $(CROSS_COMPILE)gcc | CC = $(CROSS_COMPILE)gcc | ||||