1 From 5b015e67af27679f4ca8f7f5f2f71020ec054b0c Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Fri, 2 Dec 2016 23:09:44 +0100
4 Subject: [PATCH] Makefile: allow passing CFLAGS/LDFLAGS
6 This might be needed to pass some custom CFLAGS/LDFLAGS when building
9 Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/Makefile b/Makefile
16 index 3e7d1e4..d9a7220 100755
21 - $(CC) -g -o $@ $< -lusb-1.0
22 + $(CC) -g $(CFLAGS) -o $@ $< -lusb-1.0 $(LDFLAGS)