summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-02-28 00:53:39 +0100
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-02-27 16:12:44 -0800
commita7c6494a219c66e6e0924deb2b2fafe06ae00b01 (patch)
tree7bb851ef5ca362813391bc71311244e1d79f9911 /scripts
parenta373f6a911595bf5cd610126ac026dedc3e8ee2f (diff)
compat-drivers: build driver/video/hdmi.ko
This module is needed by the drm driver now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/admin-update.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 48055a92..e1e5f0d3 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