diff options
author | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2010-11-04 10:58:33 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-05 10:26:29 +0100 |
commit | 1bc5b0bdf1157c700bac96ca5980ff9aa943e225 (patch) | |
tree | 0b5b330df96cb423e757e6cf41b6ec203fe4a530 /package | |
parent | c2d6095f9ffb40d73ef0549412092447b7e7d1cc (diff) | |
download | buildroot-novena-1bc5b0bdf1157c700bac96ca5980ff9aa943e225.tar.gz buildroot-novena-1bc5b0bdf1157c700bac96ca5980ff9aa943e225.zip |
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 <paulius.zaleckas@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |