From: Paulius Zaleckas Date: Thu, 4 Nov 2010 08:58:33 +0000 (+0200) Subject: Create X symlink for TinyX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bc5b0bdf1157c700bac96ca5980ff9aa943e225;p=buildroot.git 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 --- diff --git a/CHANGES b/CHANGES index 8406725112..76c4ea4515 100644 --- a/CHANGES +++ b/CHANGES @@ -61,7 +61,8 @@ xdriver-xf86-video-{sis,sisusb,suncg3,suncg6,suncg14,sunffb}, xdriver-xf86-video-{sunleo,suntcx,tdfx,tga,trident,v4l,vesa}, xdriver-xf86-video-{vmware,voodeo,wsfb,xgi,xgixp}, - xkeyboard-config, xlib_libX11, xstroke, xterm, xvkbd, zlib + xkeyboard-config, xlib_libX11, xserver_xorg-server, xstroke, + xterm, xvkbd, zlib Deprecated packages: hotplug, lzma, ng-spice-rework diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index fed8c10f81..b0babddee1 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