Browse Source

review comments

pull/62/head
Nico Bollen 4 years ago
parent
commit
6de8712673
4 changed files with 16 additions and 16 deletions
  1. +4
    -4
      devLib/Makefile
  2. +4
    -4
      gpio/Makefile
  3. +4
    -4
      wiringPi/Makefile
  4. +4
    -4
      wiringPiD/Makefile

+ 4
- 4
devLib/Makefile View File

@@ -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


+ 4
- 4
gpio/Makefile View File

@@ -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


+ 4
- 4
wiringPi/Makefile View File

@@ -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


+ 4
- 4
wiringPiD/Makefile View File

@@ -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


Loading…
Cancel
Save