mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
build: Fix libeap_peer.a build
The install target at the beginning of src/eap_peer/Makefile was confusing make about the build rules for libeap_peer.a and overriding of the install target between src/eap_peer/Makefile and src/lib.rules was breaking installation of dynamic EAP peer *.so files. Fix this by lib.rules defining a default for the install target so that src/*/Makefile can override that and by moving the install target for eap_peer to the end of the Makefile. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
c3f37c35f0
commit
39748963d7
@ -1,9 +1,3 @@
|
||||
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= \
|
||||
@ -11,3 +5,9 @@ LIB_OBJS= \
|
||||
eap_methods.o
|
||||
|
||||
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
|
||||
|
@ -19,8 +19,11 @@ $(ALL): $(LIB_OBJS)
|
||||
@$(E) " AR $(notdir $@)"
|
||||
$(Q)$(AR) crT $@ $?
|
||||
|
||||
install:
|
||||
install-default:
|
||||
@echo Nothing to be made.
|
||||
|
||||
%: %-default
|
||||
@true
|
||||
|
||||
clean:
|
||||
$(Q)rm -f *~ *.o *.d *.gcno *.gcda *.gcov $(ALL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user