summaryrefslogtreecommitdiff
path: root/recipes-bsp/ti-wifi-utils/ti-wifi-utils/upgrade_libnl_to_32.patch
blob: c5b6efa12abfcc3f32c9cbcc706618f04a73b448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/Makefile	2016-05-31 17:23:45.000000000 +0300
+++ b/Makefile	2016-05-31 17:36:55.582844952 +0300
@@ -1,21 +1,12 @@
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -O2 -Wall
-CFLAGS += -I$(NFSROOT)/usr/include -I$(NFSROOT)/include
+CFLAGS += -I=/usr/include -I=/include -I=/usr/include/libnl3
 
-ifdef NLROOT
-CFLAGS += -I${NLROOT}
-endif
-
-LDFLAGS += -L$(NFSROOT)/lib
+LDFLAGS += -L=/lib
 LIBS += -lm
 
-ifeq ($(NLVER),3)
-	CFLAGS+=-DCONFIG_LIBNL32
-	LIBS += -lnl-3 -lnl-genl-3
-else
-	CFLAGS+=-DCONFIG_LIBNL20
-	LIBS += -lnl -lnl-genl
-endif
+CFLAGS+=-DCONFIG_LIBNL32
+LIBS += -lnl-3 -lnl-genl-3
 
 OBJS = nvs.o misc_cmds.o calibrator.o plt.o wl18xx_plt.o ini.o