Skip to content

Commit

Permalink
onvif-simple-server: pass HAVE_MBEDTLS flag when compile with MbedTLS
Browse files Browse the repository at this point in the history
  • Loading branch information
themactep committed Jun 27, 2024
1 parent f25ebb5 commit 912efec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/onvif-simple-server/onvif-simple-server.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ ONVIF_SIMPLE_SERVER_LICENSE_FILES = LICENSE

ifeq ($(BR2_PACKAGE_MBEDTLS),y)
ONVIF_SIMPLE_SERVER_DEPENDENCIES = mbedtls
MAKE_OPTS += HAVE_MBEDTLS=y
else
ONVIF_SIMPLE_SERVER_DEPENDENCIES += libtomcrypt
endif

define ONVIF_SIMPLE_SERVER_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(MAKE_OPTS)
endef

define ONVIF_SIMPLE_SERVER_INSTALL_TARGET_CMDS
Expand Down

0 comments on commit 912efec

Please sign in to comment.