Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
        --disable-goom \
        --disable-projectm \
        --disable-vsxu \
-       --disable-udev \
        --disable-mtp
 
 ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
 VLC_CONF_OPT += --disable-tremor
 endif
 
+ifeq ($(BR2_PACKAGE_UDEV),y)
+VLC_CONF_OPT += --enable-udev
+VLC_DEPENDENCIES += udev
+else
+VLC_CONF_OPT += --disable-udev
+endif
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
 VLC_CONF_OPT += --with-x
 VLC_DEPENDENCIES += xlib_libX11