diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb | 1 |
2 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch b/meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch new file mode 100644 index 0000000000..e790e8e0f2 --- /dev/null +++ b/meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | From 430bc89b9a29537d9d22bb42406f3d14072a01d4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jouni Malinen <j@w1.fi> | ||
| 3 | Date: Sun, 22 Dec 2024 18:53:12 +0200 | ||
| 4 | Subject: [PATCH] Include base64 for hostapd CONFIG_SAE_PK builds | ||
| 5 | |||
| 6 | CONFIG_SAE_PK=y needs base64 functionality, so set NEED_BASE64 | ||
| 7 | automatically for it. | ||
| 8 | |||
| 9 | Signed-off-by: Jouni Malinen <j@w1.fi> | ||
| 10 | Upstream-Status: Backport [https://git.w1.fi/cgit/hostap/commit/?id=430bc89b9a29537d9d22bb42406f3d14072a01d4] | ||
| 11 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
| 12 | --- | ||
| 13 | hostapd/Android.mk | 1 + | ||
| 14 | hostapd/Makefile | 1 + | ||
| 15 | 2 files changed, 2 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/hostapd/Android.mk b/hostapd/Android.mk | ||
| 18 | index e6c2fbf18..6e0d77d28 100644 | ||
| 19 | --- a/hostapd/Android.mk | ||
| 20 | +++ b/hostapd/Android.mk | ||
| 21 | @@ -260,6 +260,7 @@ OBJS += src/common/sae.c | ||
| 22 | ifdef CONFIG_SAE_PK | ||
| 23 | L_CFLAGS += -DCONFIG_SAE_PK | ||
| 24 | NEED_AES_SIV=y | ||
| 25 | +NEED_BASE64=y | ||
| 26 | OBJS += src/common/sae_pk.c | ||
| 27 | endif | ||
| 28 | NEED_ECC=y | ||
| 29 | diff --git a/hostapd/Makefile b/hostapd/Makefile | ||
| 30 | index fa0d366a8..c3419c10e 100644 | ||
| 31 | --- a/hostapd/Makefile | ||
| 32 | +++ b/hostapd/Makefile | ||
| 33 | @@ -299,6 +299,7 @@ OBJS += ../src/common/sae.o | ||
| 34 | ifdef CONFIG_SAE_PK | ||
| 35 | CFLAGS += -DCONFIG_SAE_PK | ||
| 36 | NEED_AES_SIV=y | ||
| 37 | +NEED_BASE64=y | ||
| 38 | OBJS += ../src/common/sae_pk.o | ||
| 39 | endif | ||
| 40 | NEED_ECC=y | ||
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb index 693afe6c53..daaf2dcd55 100644 --- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb +++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb | |||
| @@ -8,6 +8,7 @@ DEPENDS = "libnl openssl" | |||
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
| 10 | http://w1.fi/releases/hostapd-${PV}.tar.gz \ | 10 | http://w1.fi/releases/hostapd-${PV}.tar.gz \ |
| 11 | file://0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch \ | ||
| 11 | file://defconfig \ | 12 | file://defconfig \ |
| 12 | file://init \ | 13 | file://init \ |
| 13 | file://hostapd.service \ | 14 | file://hostapd.service \ |
