uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead

https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948
this can do it nicely.

Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,26 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d5a180..7254292 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ set(CMAKE_MODULE_PATH
)
include(TestHelper)
-include(VersionHelper)
+#include(VersionHelper)
include(ProjectHelper)
# NOTE: for sniper we want the exe suffix to be like 0.7.4, not just 0.7
diff --git a/vendor/samtools.patch b/vendor/samtools.patch
index f173017..654f878 100644
--- a/vendor/samtools.patch
+++ b/vendor/samtools.patch
@@ -6,7 +6,7 @@ diff -Nuar a/Makefile b/Makefile
samtools:lib $(AOBJS)
- $(CC) $(CFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) $(LIBCURSES) -lz -L. -lbam
-+ $(CC) $(CFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) $(LIBCURSES) -L. -lbam -lz
++ $(CC) $(CFLAGS) -o $@ $(AOBJS) -lm $(LIBPATH) -lncurses -L. -lbam -lz
razip:razip.o razf.o
$(CC) $(CFLAGS) -o $@ razf.o razip.o -lz