Skip to content

Commit

Permalink
wiringpi: Set major version
Browse files Browse the repository at this point in the history
To fix the behaviour described in
agherzan#362

Signed-off-by: ErikHH <erik.hoogeveen@outlook.com>
  • Loading branch information
erikhh80 committed Dec 20, 2018
1 parent 6f67bce commit 7770afc
Showing 1 changed file with 22 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
From 32f3cad3c41161693659a902062fa0c01c0338ed Mon Sep 17 00:00:00 2001
From: ErikHH <erik.hoogeveen@outlook.com>
Date: Thu, 20 Dec 2018 15:33:45 +0100
Subject: [PATCH 1/1] Add initial cross compile support

Signed-off-by: ErikHH <erik.hoogeveen@outlook.com>
---
devLib/Makefile | 55 +++++++++++++++++++++----------------
examples/Gertboard/Makefile | 22 +++++++++------
examples/Makefile | 22 +++++++++------
examples/PiFace/Makefile | 22 +++++++++------
examples/PiGlow/Makefile | 4 +--
examples/q2w/Makefile | 4 +--
gpio/Makefile | 29 +++++++++----------
wiringPi/Makefile | 47 +++++++++++++++++--------------
8 files changed, 119 insertions(+), 86 deletions(-)

diff --git a/devLib/Makefile b/devLib/Makefile
index cf665d6..d193a9d 100644
--- a/devLib/Makefile
Expand Down Expand Up @@ -295,7 +312,7 @@ index 9ec160d..a294242 100644

.PHONY: depend
diff --git a/wiringPi/Makefile b/wiringPi/Makefile
index 287fa58..0cc54b5 100644
index 287fa58..3423d3f 100644
--- a/wiringPi/Makefile
+++ b/wiringPi/Makefile
@@ -22,25 +22,30 @@
Expand Down Expand Up @@ -337,13 +354,7 @@ index 287fa58..0cc54b5 100644

LIBS = -lm -lpthread -lrt -lcrypt

@@ -70,22 +75,22 @@ OBJ = $(SRC:.c=.o)
all: $(DYNAMIC)

.PHONY: static
-static:
+static:
$Q cat noMoreStatic
@@ -75,17 +80,17 @@ static:

$(DYNAMIC): $(OBJ)
$Q echo "[Link (Dynamic)]"
Expand Down Expand Up @@ -399,3 +410,6 @@ index 287fa58..0cc54b5 100644


.PHONY: depend
--
2.19.1

0 comments on commit 7770afc

Please sign in to comment.