From 4b0752e1c264c4ba2a354507ca97bb2e039dda1a Mon Sep 17 00:00:00 2001 From: "4 of 7 (Leah Rowe) info@minifree.org" Date: Sat, 21 Jan 2017 18:14:33 +0000 Subject: re-add old build system (for x86 boards/utils) Everything will be migrated over to the new build system after release. --- .../bucts/patch/0001-Makefile-don-t-use-git.patch | 24 ++++++++++++++++++++++ resources/bucts/patch/staticlink.diff | 13 ++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 resources/bucts/patch/0001-Makefile-don-t-use-git.patch create mode 100644 resources/bucts/patch/staticlink.diff (limited to 'resources/bucts') diff --git a/resources/bucts/patch/0001-Makefile-don-t-use-git.patch b/resources/bucts/patch/0001-Makefile-don-t-use-git.patch new file mode 100644 index 00000000..9a0e719c --- /dev/null +++ b/resources/bucts/patch/0001-Makefile-don-t-use-git.patch @@ -0,0 +1,24 @@ +From 63312528ea81207865077ab2c75963e3660859f0 Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Sat, 14 Feb 2015 00:56:43 +0000 +Subject: [PATCH] Makefile: don't use git + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 68541e6..b5f43d5 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + CC:=gcc + OBJ:=bucts.o +-VERSION:=$(shell git describe) ++VERSION:=withoutgit + + ifeq ($(shell uname), FreeBSD) + CFLAGS = -I/usr/local/include +-- +1.9.1 + diff --git a/resources/bucts/patch/staticlink.diff b/resources/bucts/patch/staticlink.diff new file mode 100644 index 00000000..52da8cc8 --- /dev/null +++ b/resources/bucts/patch/staticlink.diff @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 68541e6..b8579eb 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,7 @@ endif + all: bucts + + bucts: $(OBJ) +- $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci ++ $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static + + %.o: %.c + $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $< -- cgit v1.2.3-70-g09d2