diff mbox series

Makefile.flags: remove suricatta handling section

Message ID 20200610075641.8957-1-christian.storm@siemens.com
State Accepted
Headers show
Series Makefile.flags: remove suricatta handling section | expand

Commit Message

Christian Storm June 10, 2020, 7:56 a.m. UTC
Since suricatta's Config.in options select the
dependencies, a special suricatta handling is
no longer required in Makefile.flags

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 Makefile.flags | 12 ------------
 1 file changed, 12 deletions(-)

Comments

Stefano Babic June 10, 2020, 10:35 a.m. UTC | #1
On 10.06.20 09:56, Christian Storm wrote:
> Since suricatta's Config.in options select the
> dependencies, a special suricatta handling is
> no longer required in Makefile.flags
> 
> Signed-off-by: Christian Storm <christian.storm@siemens.com>
> ---
>  Makefile.flags | 12 ------------
>  1 file changed, 12 deletions(-)
> 
> diff --git a/Makefile.flags b/Makefile.flags
> index 514f798..dfd7531 100644
> --- a/Makefile.flags
> +++ b/Makefile.flags
> @@ -194,18 +194,6 @@ ifeq ($(CONFIG_BOOTLOADER_EBG),y)
>  LDLIBS += ebgenv z
>  endif
>  
> -# suricatta
> -ifneq ($(CONFIG_SURICATTA),)
> -ifneq ($(CONFIG_SURICATTA_HAWKBIT),)
> -ifeq ($(strip $(findstring json-c,$(LDLIBS))),)
> -LDLIBS += json-c
> -endif
> -ifeq ($(strip $(findstring curl,$(LDLIBS))),)
> -LDLIBS += curl
> -endif
> -endif
> -endif
> -
>  # SWU forwarder
>  ifneq ($(CONFIG_SWUFORWARDER_HANDLER),)
>  LDLIBS += websockets uriparser
> 

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/Makefile.flags b/Makefile.flags
index 514f798..dfd7531 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -194,18 +194,6 @@  ifeq ($(CONFIG_BOOTLOADER_EBG),y)
 LDLIBS += ebgenv z
 endif
 
-# suricatta
-ifneq ($(CONFIG_SURICATTA),)
-ifneq ($(CONFIG_SURICATTA_HAWKBIT),)
-ifeq ($(strip $(findstring json-c,$(LDLIBS))),)
-LDLIBS += json-c
-endif
-ifeq ($(strip $(findstring curl,$(LDLIBS))),)
-LDLIBS += curl
-endif
-endif
-endif
-
 # SWU forwarder
 ifneq ($(CONFIG_SWUFORWARDER_HANDLER),)
 LDLIBS += websockets uriparser