summaryrefslogtreecommitdiffstats
path: root/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2019-09-16 16:06:08 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-09-27 15:57:23 -0500
commit398a4b85d4374a35f580db998b854261a5a7db74 (patch)
tree9464d1f07b64b6357c08b923e7fb4ba1ff4bf7cd /package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch
parentef2bf42027bd0bce7691bbdf9d2e7e67ef68fa79 (diff)
downloadbuildroot-2019.02-op-build.tar.gz
buildroot-2019.02-op-build.zip
Initial pass at removing binary-only, unlicensed, and proprietary packages from buildroot tree2019.02-op-build
Note that DAHDI is only being removed due to poor packaging -- it does not require binary firmware on some cards, but the buildroot packaging for it unconditionally pulls in binary-only firmware regardless.
Diffstat (limited to 'package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch')
-rw-r--r--package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch b/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch
deleted file mode 100644
index a757cb0e03..0000000000
--- a/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 905bc741b189d67160b27551b8ad01459c2707a0 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Fri, 2 Dec 2016 23:10:37 +0100
-Subject: [PATCH] Makefile: add DESTDIR support
-
-This allows installing rpiboot outside of /usr if needed.
-
-Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-[Arnout: remove /usr]
-Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
----
- Makefile | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index d9a7220..7835b7f 100755
---- a/Makefile
-+++ b/Makefile
-@@ -2,18 +2,18 @@ rpiboot: main.c
- $(CC) -g $(CFLAGS) -o $@ $< -lusb-1.0 $(LDFLAGS)
-
- install: rpiboot
-- cp rpiboot /usr/bin
-- mkdir -p /usr/share/rpiboot
-- cp usbbootcode.bin /usr/share/rpiboot
-- cp msd.elf /usr/share/rpiboot
-- cp buildroot.elf /usr/share/rpiboot
-+ cp rpiboot $(DESTDIR)bin
-+ mkdir -p $(DESTDIR)/share/rpiboot
-+ cp usbbootcode.bin $(DESTDIR)/share/rpiboot
-+ cp msd.elf $(DESTDIR)/share/rpiboot
-+ cp buildroot.elf $(DESTDIR)/share/rpiboot
-
- uninstall:
-- rm -f /usr/bin/rpiboot
-- rm -f /usr/share/rpiboot/usbbootcode.bin
-- rm -f /usr/share/rpiboot/msd.elf
-- rm -f /usr/share/rpiboot/buildroot.elf
-- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
-+ rm -f $(DESTDIR)/bin/rpiboot
-+ rm -f $(DESTDIR)/share/rpiboot/usbbootcode.bin
-+ rm -f $(DESTDIR)/share/rpiboot/msd.elf
-+ rm -f $(DESTDIR)/share/rpiboot/buildroot.elf
-+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/share/rpiboot/
-
- clean:
- rm rpiboot
---
-2.7.4
-
OpenPOWER on IntegriCloud