Skip to contentSkip to conversation

tslib broken

Buildroot Will Wagner 2 participants 2 messages Apr 16, 2009 – Apr 17, 2009

lore
Share & tools
lore
#0 lore raw

Seems like tslib has got broken when it was converted to use autotools, it has lost a couple of the customisations needed.

Attached is my patch that works as it did before. Note this patch deliberately removes a couple of the tslib patches as I believe they are wrong - see
http://lists.busybox.net/pipermail/buildroot/2008-June/021164.html

Will

Signature · 9 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tslib.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090416/52232eaf/attachment.diff>
#1 lore raw

On Thu, 16 Apr 2009 17:33:34 +0100
Will Wagner <[email protected]> wrote:

<snipp>

Quoted 9 lines

Index: package/tslib/tslib.mk
===================================================================

tslib/tslib.mk +0 -1
@@ -15,8 +15,25 @@
 TSLIB_CONF_OPT = \
 	--enable-shared	\
 	--prefix=/usr	\
-	--sysconfdir=/etc

tslib/tslib.mk line 27

Quoted 10 lines
tslib/tslib.mk +9 -0
+	--sysconfdir=/etc \
+	--disable-linear-h2200 \
+	--disable-ucb1x00 \
+	--disable-corgi \
+	--disable-collie \
+	--disable-h3600 \
+	--disable-mk712 \
+	--disable-arctic2 \
+	--enable-input
 

Looks sane, as long as nobody uses the specific old style touch interfaces. AFAIK /dev/input/event is the way to go these days.

Quoted 8 lines
tslib/tslib.mk +4 -0
 TSLIB_DEPENDENCIES = uclibc
 
 $(eval $(call AUTOTARGETS,package,tslib))
+	
+$(TSLIB_HOOK_POST_EXTRACT):
+	-rm package/tslib/tslib-1.0-absbit.patch
+	-rm

package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch

Huh? This looks wrong. Do you mean to remove .orig patch files from the extracted directory? If so, please refresh the patches using quilt:

QUILT_DIFF_OPTS="-p --ignore-blank-lines --strip-trailing-cr" quilt refresh -p ab --no-timestamps --no-index

My preferred way of making patches for Buildroot that are smooth to source control.

<snipp>

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt