mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
build: Remove hostapd vs. wpa_supplicant build checks
These are no longer needed now. Note that this was never actually sufficient since src/drivers/ isn't the only thing shared, and thus a cross-build detection didn't work in all cases. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
6acda53222
commit
ad6e4a5c59
@ -1264,18 +1264,10 @@ $(DESTDIR)$(BINDIR)/%: %
|
|||||||
|
|
||||||
install: $(addprefix $(DESTDIR)$(BINDIR)/,$(ALL))
|
install: $(addprefix $(DESTDIR)$(BINDIR)/,$(ALL))
|
||||||
|
|
||||||
../src/drivers/build.hostapd:
|
|
||||||
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \
|
|
||||||
$(MAKE) -C ../src/drivers clean; \
|
|
||||||
fi
|
|
||||||
@touch ../src/drivers/build.hostapd
|
|
||||||
|
|
||||||
BCHECK=../src/drivers/build.hostapd
|
|
||||||
|
|
||||||
_OBJS_VAR := OBJS
|
_OBJS_VAR := OBJS
|
||||||
include ../src/objs.mk
|
include ../src/objs.mk
|
||||||
|
|
||||||
hostapd: $(BCHECK) $(OBJS)
|
hostapd: $(OBJS)
|
||||||
$(Q)$(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
|
$(Q)$(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
|
||||||
@$(E) " LD " $@
|
@$(E) " LD " $@
|
||||||
|
|
||||||
|
@ -1852,14 +1852,6 @@ endif
|
|||||||
|
|
||||||
dynamic_eap_methods: $(EAPDYN)
|
dynamic_eap_methods: $(EAPDYN)
|
||||||
|
|
||||||
../src/drivers/build.wpa_supplicant:
|
|
||||||
@if [ -f ../src/drivers/build.hostapd ]; then \
|
|
||||||
$(MAKE) -C ../src/drivers clean; \
|
|
||||||
fi
|
|
||||||
@touch ../src/drivers/build.wpa_supplicant
|
|
||||||
|
|
||||||
BCHECK=../src/drivers/build.wpa_supplicant
|
|
||||||
|
|
||||||
_OBJS_VAR := OBJS_priv
|
_OBJS_VAR := OBJS_priv
|
||||||
include ../src/objs.mk
|
include ../src/objs.mk
|
||||||
wpa_priv: $(BCHECK) $(OBJS_priv)
|
wpa_priv: $(BCHECK) $(OBJS_priv)
|
||||||
|
Loading…
Reference in New Issue
Block a user