From 21644234cdee5e6c7236faaa58c46e82db3265e4 Mon Sep 17 00:00:00 2001 From: Hendrik van Essen Date: Sat, 5 Mar 2022 23:47:35 +0100 Subject: [PATCH] pkg/tinydtls: rename condition WITH_RIOT_GNRC to WITH_RIOT_SOCK Using tinydtls on RIOT OS is not limited to GNRC as network stack. It is also working with e.g. lwIP, see: https://github.com/RIOT-OS/RIOT/pull/17552 Therefore the name WITH_RIOT_GNRC is misleading. --- pkg/tinydtls/Makefile.include | 2 +- ...e-condition-WITH_RIOT_GNRC-to-WITH_RIOT.patch | Bin 0 -> 1858 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 pkg/tinydtls/patches/0003-session-Rename-condition-WITH_RIOT_GNRC-to-WITH_RIOT.patch diff --git a/pkg/tinydtls/Makefile.include b/pkg/tinydtls/Makefile.include index 3d68ac8158..aebc670325 100644 --- a/pkg/tinydtls/Makefile.include +++ b/pkg/tinydtls/Makefile.include @@ -24,7 +24,7 @@ endif # The configuration for socket overrides Sock ifeq (,$(filter posix_sockets,$(USEMODULE))) - CFLAGS += -DWITH_RIOT_GNRC + CFLAGS += -DWITH_RIOT_SOCK endif # Default cipher suite when not using Kconfig diff --git a/pkg/tinydtls/patches/0003-session-Rename-condition-WITH_RIOT_GNRC-to-WITH_RIOT.patch b/pkg/tinydtls/patches/0003-session-Rename-condition-WITH_RIOT_GNRC-to-WITH_RIOT.patch new file mode 100644 index 0000000000000000000000000000000000000000..2da05be392af96f6b8bacfec1abee647df0fb42c GIT binary patch literal 1858 zcmbtVZExE)5dJ*=idzc=e$%Th%U0XKY1%YK(YlDe?ZY|4ct_sz@Hy(DF1IilGfpQo@q-~-PeMxFX_Ah@F!9HndBdTXa&I(E$MB&n zV96`+LU7&4{J?izk6hp~5nS?u)#Cccx9~D+U%lxxm~CZYr{(sPyrGIma8Zi^_yK&N zH75H$c*AHEM8hfcUC(vNvPpjBsfys|PiL$1OBgz%UqEsxMOj2}#S6OSkd_4#3O(@C ze03RL%@?cq-N&nQP$fBVEf?qS3Hd>aVgpJPcTD9HFiFS5VhKV*Q7XvARw&Le8O$OS z-CW(4^)*OE(`%c|m5!ykEJ3^VdbdJl!0n9<`R)AE082!0nNpRE9A|@*O`>5tdM|6S zH2+T3wB6}k26#fDq`Ujp2J!9zi z`zFqZwaB@IG^53avjL1i6q47PGui2PwS)1Tx3<+Kgo*VUEDI|K>g@Q&ZIXv~A_~TT z2iJFL5+t@Aj=jK}OaM=9JR0fx4l@as@+f;Y18e9FLg<_4Y(@ab$q97My4Gn`)(T#| zg3jxm@tq!@_c4vAVo_1X>Nwq2os*79(sp-%hE6g@_b|!Ch;>``e(jyzCDwDEi#4)< z0i1Onliwx%f1B2#>JoU~CPJ)573# zaXjUz_nw`5GVDh*>Y`fD)666G=i>^<4$d&!DZr=6*mbFGPg&@WJbGLK*%Jk1vNuoU;27vH zpcmE%{|mpCtmK-6@7r7MeDQHLe?Qk|q%~cDvfe{}Det7ya%pF$ zhZD#Jb`0`S=m~wOL8#l>Jiiqm-s|iC1@P+<4iGxM9^!-^eoLg*iN1a};)WLwN`umT cgJ4z}pZ+iij6|i