mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
x11-common: remove extraneous BSP customizations
(From OE-Core rev: caf0bdaa8f137ac7a775aff3d41ec1bfb2907afa) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dfa70347ce
commit
72fc52b61d
@@ -18,14 +18,6 @@ fi
|
|||||||
|
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
|
|
||||||
module_id() {
|
|
||||||
## used to read from assets, but sometimes assets is corrupted
|
|
||||||
# grep "Module ID" /proc/hal/assets | sed "s/.*://"
|
|
||||||
## used to read from /proc/hal/model, but that is removed in 2.6
|
|
||||||
# echo ' iPAQ' `cat /proc/hal/model`
|
|
||||||
awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
|
|
||||||
}
|
|
||||||
|
|
||||||
ARGS=" -br -pn"
|
ARGS=" -br -pn"
|
||||||
|
|
||||||
if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
|
if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
|
||||||
@@ -44,22 +36,6 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
|
|||||||
ARGS="$ARGS -mouse tslib"
|
ARGS="$ARGS -mouse tslib"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# start off server in conventional location.
|
|
||||||
case `module_id` in
|
|
||||||
"Generic OMAP1510/1610/1710")
|
|
||||||
ARGS="$ARGS -mouse /dev/input/event0" ;;
|
|
||||||
"Compulab CM-x270")
|
|
||||||
#modprobe mbxfb
|
|
||||||
#ARGS="$ARGS -fb /dev/fb1"
|
|
||||||
;;
|
|
||||||
"Nokia N800")
|
|
||||||
ARGS="$ARGS -mouse tslib" ;;
|
|
||||||
"Nokia 770")
|
|
||||||
ARGS="$ARGS -mouse tslib" ;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
ARGS="$ARGS -screen ${DISPLAY_WIDTH_PIXELS}x${DISPLAY_HEIGHT_PIXELS}@${DISPLAY_ORIENTATION}x${DISPLAY_BPP}"
|
ARGS="$ARGS -screen ${DISPLAY_WIDTH_PIXELS}x${DISPLAY_HEIGHT_PIXELS}@${DISPLAY_ORIENTATION}x${DISPLAY_BPP}"
|
||||||
|
|
||||||
if [ ! -z "$DISPLAY_DPI" ]; then
|
if [ ! -z "$DISPLAY_DPI" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user