mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
urg: make sdl support optional
Only enable SDL support if SDL and SDL_net are already enabled in the configuration. [Peter: drop SDL comment] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
171fc468dc
commit
d0433603e3
@ -1,11 +1,8 @@
|
|||||||
config BR2_PACKAGE_URG
|
config BR2_PACKAGE_URG
|
||||||
bool "urg"
|
bool "urg"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
select BR2_PACKAGE_SDL
|
|
||||||
select BR2_PACKAGE_SDL_NET
|
|
||||||
help
|
help
|
||||||
Library to control Hokuyo's URG series sensors.
|
Library to control Hokuyo's URG series sensors.
|
||||||
Requires SDL & SDL_net.
|
|
||||||
|
|
||||||
http://www.hokuyo-aut.jp/02sensor/07scanner/download/urg_programs_en/
|
http://www.hokuyo-aut.jp/02sensor/07scanner/download/urg_programs_en/
|
||||||
|
|
||||||
|
@ -12,10 +12,14 @@ URG_LICENSE_FILES = COPYING
|
|||||||
|
|
||||||
URG_INSTALL_STAGING = YES
|
URG_INSTALL_STAGING = YES
|
||||||
|
|
||||||
URG_DEPENDENCIES = sdl sdl_net
|
ifeq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL_NET),yy)
|
||||||
|
URG_DEPENDENCIES += sdl sdl_net
|
||||||
URG_CONF_OPT = --with-sdl-prefix=$(STAGING_DIR)/usr \
|
URG_CONF_OPT += --with-sdl-prefix=$(STAGING_DIR)/usr \
|
||||||
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr
|
||||||
|
else
|
||||||
|
URG_CONF_OPT = --without-sdl
|
||||||
|
URG_CONF_ENV += ac_cv_path_SDL_CONFIG=""
|
||||||
|
endif
|
||||||
|
|
||||||
URG_CONFIG_SCRIPTS = c_urg-config urg-config
|
URG_CONFIG_SCRIPTS = c_urg-config urg-config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user