Browse Source

- libdpf: change url to source; align patch

master
vanhofen 6 years ago
parent
commit
3eadae6e06
  1. 7
      archive-patches/libdpf-crossbuild.patch
  2. 5
      make/archives.mk
  3. 8
      make/system-libs.mk

7
archive-patches/libdpf-crossbuild.diff → archive-patches/libdpf-crossbuild.patch

@ -1,9 +1,8 @@
diff --git a/Makefile b/Makefile
index 47594bb..4af8e92 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
OBJS = dpflib.o rawusb.o scsi.o bootload.o
@@ -10,7 +10,7 @@
LIBS=-lusb -lsgutils2
endif
-CFLAGS = -Wall -fPIC -I../include -g
+CFLAGS = -Wall -fPIC -I$(PREFIX)/include -I../include -g

5
make/archives.mk

@ -368,11 +368,6 @@ POPT_SOURCE = popt-$(POPT_VER).tar.gz
$(ARCHIVE)/$(POPT_SOURCE):
$(WGET) http://rpm5.org/files/popt/$(POPT_SOURCE)
LIBDPF_VER = 62c8fd0
LIBDPF_SOURCE = dpf-ax-git-$(LIBDPF_VER).tar.bz2
$(ARCHIVE)/$(LIBDPF_SOURCE):
get-git-archive.sh https://github.com/MaxWiesel/dpf-ax.git $(LIBDPF_VER) $(notdir $@) $(ARCHIVE)
LINKS_VER = 2.17
$(ARCHIVE)/links-$(LINKS_VER).tar.bz2:
$(WGET) http://links.twibright.com/download/links-$(LINKS_VER).tar.bz2

8
make/system-libs.mk

@ -460,7 +460,13 @@ $(D)/libgd2: $(D)/zlib $(D)/libpng $(D)/libjpeg $(D)/freetype $(ARCHIVE)/libgd-$
# -----------------------------------------------------------------------------
LIBDPF_PATCH = libdpf-crossbuild.diff
LIBDPF_VER = 62c8fd0
LIBDPF_SOURCE = dpf-ax-git-$(LIBDPF_VER).tar.bz2
$(ARCHIVE)/$(LIBDPF_SOURCE):
get-git-archive.sh https://bitbucket.org/max_10/dpf-ax $(LIBDPF_VER) $(notdir $@) $(ARCHIVE)
LIBDPF_PATCH = libdpf-crossbuild.patch
$(D)/libdpf: $(D)/libusb_compat $(ARCHIVE)/$(LIBDPF_SOURCE) | $(TARGET_DIR)
$(REMOVE)/dpf-ax-git-$(LIBDPF_VER)

Loading…
Cancel
Save