1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 06:46:19 +00:00
Lakka-LibreELEC/packages/linux-firmware/rtl8723bs_bt/patches/rtl8723bs_bt-001-Makefile.patch
2017-12-16 07:18:38 +00:00

27 lines
640 B
Diff

diff --git a/Makefile b/Makefile
index 52506b9..fd196f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
rtk_hciattach:hciattach.c hciattach_rtk.o
- cc -o rtk_hciattach hciattach.c hciattach_rtk.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o rtk_hciattach hciattach.c hciattach_rtk.o
hciattach_rtk.o:hciattach_rtk.c
- cc -c hciattach_rtk.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -c hciattach_rtk.c
-clean:
- rm -f *.o rtk_hciattach
+all:
+ rtk_hciattach
install:
- mkdir -p /lib/firmware/rtl_bt
- cp -p rtlbt_* /lib/firmware/rtl_bt/.
+ mkdir -p $(DESTDIR)/usr/bin
+ cp -P rtk_hciattach $(DESTDIR)/usr/bin
+
+clean:
+ rm -f *.o rtk_hciattach