mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Configure MMAL options for motion if rpi-userland is selected
This commit is contained in:
parent
5b3a021a08
commit
eef4b3055e
@ -14,5 +14,12 @@ define MOTION_INSTALL_TARGET_CMDS
|
||||
cp $(@D)/motion $(TARGET_DIR)/usr/bin/motion
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
||||
MOTION_DEPENDENCIES += rpi-userland
|
||||
MOTION_CONF_OPTS += \
|
||||
--with-mmal-include=$(STAGING_DIR)/usr/include \
|
||||
--with-mmal-lib=$(STAGING_DIR)/lib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user