From 1bc5b0bdf1157c700bac96ca5980ff9aa943e225 Mon Sep 17 00:00:00 2001 From: Paulius Zaleckas Date: Thu, 4 Nov 2010 10:58:33 +0200 Subject: Create X symlink for TinyX When installing TinyX to target create /usr/bin/X symlink to Xfbdev as it is the only TinyX driver we build. This makes utils like startx happy :) Signed-off-by: Paulius Zaleckas Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package') diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index fed8c10f8..b0babddee 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -73,6 +73,10 @@ endif ifeq ($(BR2_PACKAGE_XSERVER_tinyx),y) XSERVER_XORG_SERVER_CONF_OPT += --enable-kdrive --enable-xfbdev \ --disable-glx --disable-dri --disable-xsdl +define XSERVER_CREATE_X_SYMLINK + ln -f -s Xfbdev $(TARGET_DIR)/usr/bin/X +endef +XSERVER_XORG_SERVER_POST_INSTALL_TARGET_HOOKS += XSERVER_CREATE_X_SYMLINK else XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive --disable-xfbdev endif -- cgit v1.2.3