From: Hauke Mehrtens Date: Wed, 27 Feb 2013 23:53:39 +0000 (+0100) Subject: compat-drivers: build driver/video/hdmi.ko X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7c6494a219c66e6e0924deb2b2fafe06ae00b01;p=openwrt%2Fstaging%2Fblogic.git compat-drivers: build driver/video/hdmi.ko This module is needed by the drm driver now. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- diff --git a/Makefile b/Makefile index e986a0915153..89bc9916aad5 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,7 @@ obj-y := compat/ obj-$(CONFIG_COMPAT_RFKILL) += net/rfkill/ obj-$(CONFIG_COMPAT_VIDEO_MODULES) += drivers/gpu/drm/ +obj-$(CONFIG_COMPAT_VIDEO_MODULES) += drivers/video/ ifeq ($(BT),) obj-$(CONFIG_COMPAT_WIRELESS) += net/wireless/ net/mac80211/ diff --git a/config.mk b/config.mk index add66c7b7eab..13b44d4321a0 100644 --- a/config.mk +++ b/config.mk @@ -723,6 +723,7 @@ endif #CONFIG_COMPAT_KERNEL_2_6_31 # tests have only started on 3.2. ifndef CONFIG_COMPAT_KERNEL_3_2 # Basic DRM support +export CONFIG_COMPAT_HDMI=m export CONFIG_COMPAT_VIDEO_MODULES=y export CONFIG_COMPAT_DRM=m export CONFIG_COMPAT_DRM_TTM=m diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index 48055a92cfa2..e1e5f0d3c252 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -444,7 +444,8 @@ mkdir -p include/net/bluetooth \ $DRIVERS_WLAN \ $DRIVERS_ETH \ $DRIVERS_BT \ - $DRIVERS_DRM + $DRIVERS_DRM \ + drivers/video @@ -677,8 +678,14 @@ if [[ "$ENABLE_DRM" == "1" ]]; then # Finally get the DRM top-level makefile cp $GIT_TREE/drivers/gpu/drm/Makefile drivers/gpu/drm + + DIR="drivers/video" + cp $GIT_TREE/$DIR/hdmi.c $DIR + echo "obj-\$(CONFIG_COMPAT_HDMI) += hdmi.o" > $DIR/Makefile + cp $GIT_TREE/include/linux/hdmi.h include/linux/hdmi.h else touch drivers/gpu/drm/Makefile + touch drivers/video/Makefile fi # Staging drivers in their own directory