build: Make more library things common
We don't really need to duplicate more of this, so just move the lib.rules include to the end and do more of the stuff that's common anyway there. Signed-off-by: Johannes Berg <johannes.berg@intel.com>master
parent
f4b3d14e97
commit
1d0d8888af
@ -1,17 +1,13 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
if ls *.so >/dev/null 2>&1; then \
|
||||
install -d $(DESTDIR)$(LIBDIR)/wpa_supplicant && \
|
||||
cp *.so $(DESTDIR)$(LIBDIR)/wpa_supplicant \
|
||||
; fi
|
||||
|
||||
|
||||
CFLAGS += -DIEEE8021X_EAPOL
|
||||
|
||||
LIB_OBJS= \
|
||||
eap.o \
|
||||
eap_methods.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,10 +1,2 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
LIB_OBJS = eapol_auth_sm.o eapol_auth_dump.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,12 +1,5 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
CFLAGS += -DIEEE8021X_EAPOL
|
||||
|
||||
LIB_OBJS = eapol_supp_sm.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
@ -1,10 +1,3 @@
|
||||
include ../lib.rules
|
||||
|
||||
install:
|
||||
@echo Nothing to be made.
|
||||
|
||||
|
||||
LIB_OBJS = l2_packet_linux.o
|
||||
|
||||
_OBJS_VAR := LIB_OBJS
|
||||
include ../objs.mk
|
||||
include ../lib.rules
|
||||
|
Loading…
Reference in New Issue