From bcbf7c6c9fc7d8a96b1d5c4cc9247b85fe3da2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Sun, 10 Apr 2022 18:17:21 +0200 Subject: Move towards custom packages. Change the build image process in a way that custom-built packages can be utilized. This means a simpler `Makefile` since every modification is implemented on the level of packages. Include the sources for every customized package. --- aports/wpa_supplicant/no-tools.patch | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 aports/wpa_supplicant/no-tools.patch (limited to 'aports/wpa_supplicant/no-tools.patch') diff --git a/aports/wpa_supplicant/no-tools.patch b/aports/wpa_supplicant/no-tools.patch new file mode 100644 index 0000000..3282352 --- /dev/null +++ b/aports/wpa_supplicant/no-tools.patch @@ -0,0 +1,54 @@ +--- wpa_supplicant-2.9/wpa_supplicant/Makefile.orig ++++ wpa_supplicant-2.9/wpa_supplicant/Makefile +@@ -44,12 +44,8 @@ + CONFIG_TDLS_TESTING=y + endif + +-BINALL=wpa_supplicant wpa_cli ++BINALL=wpa_supplicant + +-ifndef CONFIG_NO_WPA_PASSPHRASE +-BINALL += wpa_passphrase +-endif +- + ALL = $(BINALL) + ALL += systemd/wpa_supplicant.service + ALL += systemd/wpa_supplicant@.service +@@ -1805,7 +1801,7 @@ + OBJS_priv += ../src/drivers/driver_common.o + + OBJS += wpa_supplicant.o events.o blacklist.o wpas_glue.o scan.o +-OBJS_t := $(OBJS) $(OBJS_l2) eapol_test.o ++OBJS_t := $(OBJS) $(OBJS_l2) + OBJS_t += ../src/radius/radius_client.o + OBJS_t += ../src/radius/radius.o + ifndef CONFIG_AP +@@ -1903,10 +1899,6 @@ + $(Q)$(LDO) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS) $(EXTRALIBS) + @$(E) " LD " $@ + +-eapol_test: $(OBJS_t) +- $(Q)$(LDO) $(LDFLAGS) -o eapol_test $(OBJS_t) $(LIBS) +- @$(E) " LD " $@ +- + preauth_test: $(OBJS_t2) + $(Q)$(LDO) $(LDFLAGS) -o preauth_test $(OBJS_t2) $(LIBS) + @$(E) " LD " $@ +@@ -2007,8 +1999,6 @@ + mv -f $< $@ + win_if_list.exe: win_if_list + mv -f $< $@ +-eapol_test.exe: eapol_test +- mv -f $< $@ + + WINALL=wpa_supplicant.exe wpa_cli.exe wpa_passphrase.exe win_if_list.exe + +@@ -2040,7 +2030,7 @@ + $(MAKE) -C ../src clean + $(MAKE) -C dbus clean + rm -f core *~ *.o *.d *.gcno *.gcda *.gcov +- rm -f eap_*.so $(ALL) $(WINALL) eapol_test preauth_test ++ rm -f eap_*.so $(ALL) $(WINALL) preauth_test + rm -f wpa_priv + rm -f nfc_pw_token + rm -f lcov.info -- cgit v1.2.3