Commit 285b2fa0 authored by Eric Andersen's avatar Eric Andersen
Browse files

Erik Karu writes:

Hi,

this patch seems to be needed to compile tinyx with
latest buildroot.

Btw, any ideas isn't there anyone else using tinyx if
I'm first to submit this obvious patch?

Cheers,

 EK.
parent d385b6e3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -49,7 +49,6 @@ TINYX_SITE:= http://intimate.handhelds.org/jacques/
TINYX_CF:=$(TINYX_DIR)/config/cf
#
# Some things that you may want to change.
# 
TINYX_XFBDEV:=$(TINYX_DIR)/programs/Xserver/Xfbdev
TINYX_CAT:=bzcat
TINYX_BINX:=$(TARGET_DIR)/usr/X11R6/bin/
@@ -63,6 +62,7 @@ $(DL_DIR)/$(TINYX_SOURCE):

$(DL_DIR)/cross.def:
	$(WGET) -P $(DL_DIR) $(TINYX_SITE)/xcompile/tuxscreen/cross.def
	$(SED) 's:arm-uclibc-:arm-linux-uclibc-:g' $(DL_DIR)/cross.def

$(DL_DIR)/host.def:
	$(WGET) -P $(DL_DIR) $(TINYX_SITE)/xcompile/tuxscreen/host.def
@@ -75,6 +75,7 @@ $(TINYX_DIR)/.configure: $(DL_DIR)/$(TINYX_SOURCE) $(DL_DIR)/cross.def $(DL_DIR)
	cat $(TINYX_PATCH) | patch -d $(TINYX_DIR) -p1
	cp $(DL_DIR)/host.def $(TINYX_CF)/host.def
	cp $(DL_DIR)/cross.def $(TINYX_CF)/cross.def
	$(SED) 's,arm-uclibc-,$(ARCH)-linux-uclibc-,g' $(TINYX_CF)/cross.def
	$(SED) 's:REPLACE_STAGING_DIR:$(STAGING_DIR):g' \
			$(TINYX_CF)/cross.def \
			$(TINYX_LDIR)/X11/Xlib.h