From 49b8fad29c65971f97bb81a7b7c4a1fda7276df4 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 27 Jul 2022 11:43:50 +0200 Subject: [PATCH] package/sconeserver: reorder options alphabetically Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/sconeserver/Config.in | 42 +++++++++++++------------- package/sconeserver/sconeserver.mk | 48 +++++++++++++++--------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in index d46ba85fbc..4ade8b4590 100644 --- a/package/sconeserver/Config.in +++ b/package/sconeserver/Config.in @@ -15,24 +15,6 @@ if BR2_PACKAGE_SCONESERVER comment "Sconeserver modules" -config BR2_PACKAGE_SCONESERVER_EXAMPLES - bool "examples" - help - Example modules for Sconeserver - -config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE - bool "http::sconesite" - select BR2_PACKAGE_LIBXML2 - help - http::sconesite module for Sconeserver - -config BR2_PACKAGE_SCONESERVER_MYSQL - bool "mysql" - depends on BR2_USE_MMU # mysql - select BR2_PACKAGE_MYSQL - help - MySQL module for Sconeserver - config BR2_PACKAGE_SCONESERVER_BLUETOOTH bool "bluetooth" depends on BR2_USE_WCHAR # bluez5_utils -> libglib2 @@ -51,11 +33,16 @@ comment "bluetooth support needs a toolchain w/ wchar, threads, dynamic library, depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 -config BR2_PACKAGE_SCONESERVER_RSS - bool "rss" +config BR2_PACKAGE_SCONESERVER_EXAMPLES + bool "examples" + help + Example modules for Sconeserver + +config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE + bool "http::sconesite" select BR2_PACKAGE_LIBXML2 help - RSS module for Sconeserver + http::sconesite module for Sconeserver config BR2_PACKAGE_SCONESERVER_LOCATION bool "location" @@ -76,6 +63,19 @@ config BR2_PACKAGE_SCONESERVER_MATHS help Mathematics module for Sconeserver +config BR2_PACKAGE_SCONESERVER_MYSQL + bool "mysql" + depends on BR2_USE_MMU # mysql + select BR2_PACKAGE_MYSQL + help + MySQL module for Sconeserver + +config BR2_PACKAGE_SCONESERVER_RSS + bool "rss" + select BR2_PACKAGE_LIBXML2 + help + RSS module for Sconeserver + config BR2_PACKAGE_SCONESERVER_TESTBUILDER bool "testbuilder" help diff --git a/package/sconeserver/sconeserver.mk b/package/sconeserver/sconeserver.mk index 2b28f8015c..bad050210e 100644 --- a/package/sconeserver/sconeserver.mk +++ b/package/sconeserver/sconeserver.mk @@ -40,6 +40,13 @@ else SCONESERVER_CONF_OPTS += --without-ssl endif +ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y) +SCONESERVER_DEPENDENCIES += bluez5_utils +SCONESERVER_CONF_OPTS += --with-bluetooth +else +SCONESERVER_CONF_OPTS += --without-bluetooth +endif + ifeq ($(BR2_PACKAGE_SCONESERVER_EXAMPLES),y) SCONESERVER_CONF_OPTS += --with-examples else @@ -53,30 +60,6 @@ else SCONESERVER_CONF_OPTS += --without-sconesite endif -ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y) -SCONESERVER_DEPENDENCIES += mysql -SCONESERVER_CONF_OPTS += \ - --with-mysql \ - --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \ - LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql" -else -SCONESERVER_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y) -SCONESERVER_DEPENDENCIES += bluez5_utils -SCONESERVER_CONF_OPTS += --with-bluetooth -else -SCONESERVER_CONF_OPTS += --without-bluetooth -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y) -SCONESERVER_DEPENDENCIES += libxml2 -SCONESERVER_CONF_OPTS += --with-rss -else -SCONESERVER_CONF_OPTS += --without-rss -endif - ifeq ($(BR2_PACKAGE_SCONESERVER_LOCATION),y) SCONESERVER_DEPENDENCIES += gpsd SCONESERVER_CONF_OPTS += --with-location @@ -91,6 +74,23 @@ else SCONESERVER_CONF_OPTS += --without-maths endif +ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y) +SCONESERVER_DEPENDENCIES += mysql +SCONESERVER_CONF_OPTS += \ + --with-mysql \ + --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql" +else +SCONESERVER_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y) +SCONESERVER_DEPENDENCIES += libxml2 +SCONESERVER_CONF_OPTS += --with-rss +else +SCONESERVER_CONF_OPTS += --without-rss +endif + ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y) SCONESERVER_CONF_OPTS += --with-testbuilder else