mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-19 18:23:33 +08:00
A little more setup
This commit is contained in:
parent
100a951a5a
commit
c56927879f
@ -7,14 +7,12 @@
|
|||||||
ifneq ($(strip $(BR2_PACKAGE_TINYX)),y)
|
ifneq ($(strip $(BR2_PACKAGE_TINYX)),y)
|
||||||
ifeq ($(strip $(BR2_PACKAGE_XORG)),y)
|
ifeq ($(strip $(BR2_PACKAGE_XORG)),y)
|
||||||
|
|
||||||
XORG_APPS:=xlsfonts/xlsfonts xmodmap/xmodmap
|
XORG_APPS:=xlsfonts/xlsfonts xmodmap/xmodmap xinit/startx \
|
||||||
#xset/xset xdpyinfo/xdpyinfo xsetroot/xsetroot \
|
xauth/xauth xinit/xinit xsetroot/xsetroot xset/xset \
|
||||||
# xrdb/xrdb xrandr/xrandr \
|
xterm/xterm mkfontscale/mkfontscale mkfontdir/mkfontdir
|
||||||
# xhost/xhost xauth/xauth oclock/oclock xeyes/xeyes
|
|
||||||
#
|
|
||||||
|
|
||||||
XORG_LIBS:=ICE X11 Xext Xpm Xmuu
|
XORG_LIBS:= Xft fontconfig freetype expat Xrender Xaw Xmu Xt \
|
||||||
# Xaw SM Xt Xmu
|
SM ICE Xpm Xp Xext X11 Xmuu
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
# Stuff below this line shouldn't need changes.
|
# Stuff below this line shouldn't need changes.
|
||||||
@ -65,18 +63,17 @@ $(TARGET_XSERVER): $(XORG_XSERVER)
|
|||||||
-mkdir -p $(XORG_BINX)
|
-mkdir -p $(XORG_BINX)
|
||||||
for file in $(XORG_APPS) ; do \
|
for file in $(XORG_APPS) ; do \
|
||||||
cp -f $(XORG_DIR)/programs/$$file $(XORG_BINX) ; \
|
cp -f $(XORG_DIR)/programs/$$file $(XORG_BINX) ; \
|
||||||
$(STRIP) $(XORG_PROGS)/$$file ; \
|
chmod a+x $(XORG_PROGS)/$$file ; \
|
||||||
|
$(STRIP) $(XORG_PROGS)/$$file || /bin/true ; \
|
||||||
done
|
done
|
||||||
cp $(XORG_XSERVER) $(TARGET_XSERVER)
|
cp $(XORG_XSERVER) $(TARGET_XSERVER)
|
||||||
(cd $(XORG_BINX); ln -snf $(XSERVER) X)
|
(cd $(XORG_BINX); ln -snf $(XSERVER) X)
|
||||||
$(STRIP) $(TARGET_XSERVER)
|
$(STRIP) $(TARGET_XSERVER)
|
||||||
cp -f $(XORG_DIR)/programs/xinit/startx $(XORG_BINX)
|
|
||||||
cp -f $(XORG_DIR)/programs/xauth/xauth $(XORG_BINX)
|
|
||||||
cp -f $(XORG_DIR)/programs/xinit/xinit $(XORG_BINX)
|
|
||||||
chmod a+x $(XORG_BINX)/startx $(XORG_BINX)/xauth $(XORG_BINX)/xinit
|
|
||||||
mkdir -p $(XORG_LIBX)/modules
|
mkdir -p $(XORG_LIBX)/modules
|
||||||
cp -LRf $(XORG_DIR)/exports/lib/modules/ $(XORG_LIBX)/
|
cp -LRf $(XORG_DIR)/exports/lib/modules/ $(XORG_LIBX)/
|
||||||
( cd $(XORG_DIR)/fonts ; $(MAKE) DESTDIR=$(TARGET_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
|
( cd $(XORG_DIR)/fonts ; $(MAKE) DESTDIR=$(TARGET_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
|
||||||
|
cp -LRf $(XORG_DIR)/fonts/bdf/misc/*.bdf $(XORG_LIBX)/X11/fonts/misc/
|
||||||
|
( cd $(XORG_LIBX)/X11/fonts/misc/; mkfontdir )
|
||||||
#( cd $(XORG_DIR) ; $(MAKE) DESTDIR=$(TARGET_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
|
#( cd $(XORG_DIR) ; $(MAKE) DESTDIR=$(TARGET_DIR) install XCURSORGEN=xcursorgen MKFONTSCALE=mkfontscale )
|
||||||
(cd $(TARGET_DIR)/usr/bin; ln -snf $(TARGET_BINX) X11)
|
(cd $(TARGET_DIR)/usr/bin; ln -snf $(TARGET_BINX) X11)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user