mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
civetweb: rename lua option to match naming convention
Suboptions of package foo should be prefixed with BR2_PACKAGE_FOO, not just BR2_FOO. Also add Config.in.legacy handling for it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
fc882cf2ad
commit
efd49e3366
@ -107,6 +107,15 @@ endif
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
comment "Legacy options removed in 2015.05"
|
comment "Legacy options removed in 2015.05"
|
||||||
|
|
||||||
|
config BR2_CIVETWEB_WITH_LUA
|
||||||
|
bool "civetweb lua option renamed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
select BR2_PACKAGE_CIVETWEB_WITH_LUA
|
||||||
|
help
|
||||||
|
civetweb's lua option has been renamed to
|
||||||
|
BR2_PACKAGE_CIVETWEB_WITH_LUA to be aligned with how other
|
||||||
|
packages name options.
|
||||||
|
|
||||||
config BR2_PACKAGE_TIFF_TIFF2PDF
|
config BR2_PACKAGE_TIFF_TIFF2PDF
|
||||||
bool "tiff utility-specific option removed"
|
bool "tiff utility-specific option removed"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
|
@ -9,7 +9,7 @@ config BR2_PACKAGE_CIVETWEB
|
|||||||
|
|
||||||
if BR2_PACKAGE_CIVETWEB
|
if BR2_PACKAGE_CIVETWEB
|
||||||
|
|
||||||
config BR2_CIVETWEB_WITH_LUA
|
config BR2_PACKAGE_CIVETWEB_WITH_LUA
|
||||||
bool "enable Lua support"
|
bool "enable Lua support"
|
||||||
# required by the bundled Sqlite3 and Lua code
|
# required by the bundled Sqlite3 and Lua code
|
||||||
depends on !BR2_STATIC_LIBS
|
depends on !BR2_STATIC_LIBS
|
||||||
|
@ -15,7 +15,7 @@ CIVETWEB_LIBS = -lpthread -lm
|
|||||||
CIVETWEB_SYSCONFDIR = /etc
|
CIVETWEB_SYSCONFDIR = /etc
|
||||||
CIVETWEB_HTMLDIR = /var/www
|
CIVETWEB_HTMLDIR = /var/www
|
||||||
|
|
||||||
ifeq ($(BR2_CIVETWEB_WITH_LUA),y)
|
ifeq ($(BR2_PACKAGE_CIVETWEB_WITH_LUA),y)
|
||||||
CIVETWEB_CONF_OPTS += WITH_LUA=1
|
CIVETWEB_CONF_OPTS += WITH_LUA=1
|
||||||
CIVETWEB_LIBS += -ldl
|
CIVETWEB_LIBS += -ldl
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user