Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2007-12-11 20:11 vanokuten at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: vanokuten at uclibc.org @ 2007-12-11 20:11 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2007-12-11 12:11:19 -0800 (Tue, 11 Dec 2007)
New Revision: 20639

Log:
add ts_test utility

Modified:
   trunk/buildroot/package/tslib/tslib.mk


Changeset:
Modified: trunk/buildroot/package/tslib/tslib.mk
===================================================================
--- trunk/buildroot/package/tslib/tslib.mk	2007-12-11 19:53:51 UTC (rev 20638)
+++ trunk/buildroot/package/tslib/tslib.mk	2007-12-11 20:11:19 UTC (rev 20639)
@@ -79,6 +79,8 @@
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_finddev
 	cp -dpf $(STAGING_DIR)/usr/bin/inputattach $(TARGET_DIR)/usr/bin/
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/inputattach
+	cp -dpf $(STAGING_DIR)/usr/bin/ts_test $(TARGET_DIR)/usr/bin/
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_test
 	cp -dpf package/tslib/ts.conf $(TARGET_DIR)/etc/
 
 tslib: uclibc $(TARGET_DIR)/usr/lib/libts.so

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-03-06 18:27 ninevoltz at uclibc.org
  2008-03-06 18:50 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 12+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:27 UTC (permalink / raw)
  To: buildroot

Author: ninevoltz
Date: 2008-03-06 10:27:57 -0800 (Thu, 06 Mar 2008)
New Revision: 21235

Log:
patches for tslib

Added:
   trunk/buildroot/package/tslib/tslib-1.0-absbit.patch
   trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch


Changeset:
Added: trunk/buildroot/package/tslib/tslib-1.0-absbit.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib-1.0-absbit.patch	                        (rev 0)
+++ trunk/buildroot/package/tslib/tslib-1.0-absbit.patch	2008-03-06 18:27:57 UTC (rev 21235)
@@ -0,0 +1,11 @@
+--- a/plugins/input-raw.c	2008-02-28 14:25:33.000000000 -0500
++++ b/plugins/input-raw.c	2008-02-28 14:27:25.000000000 -0500
+@@ -49,7 +49,7 @@ static int check_fd(struct tslib_input *
+ 	struct tsdev *ts = i->module.dev;
+ 	int version;
+ 	u_int32_t bit;
+-	u_int64_t absbit;
++	u_int32_t absbit;
+ 
+ 	if (! ((ioctl(ts->fd, EVIOCGVERSION, &version) >= 0) &&
+ 		(version == EV_VERSION) &&

Added: trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch	                        (rev 0)
+++ trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch	2008-03-06 18:27:57 UTC (rev 21235)
@@ -0,0 +1,11 @@
+--- a/plugins/input-raw.c	2008-01-25 14:02:23.000000000 +0100
++++ b/plugins/input-raw.new.c	2008-01-25 14:02:50.000000000 +0100
+@@ -58,8 +58,6 @@ static int check_fd(struct tslib_input *
+ 		(ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit) * 8), &absbit) >= 0) &&
+ 		(absbit & (1 << ABS_X)) &&
+ 		(absbit & (1 << ABS_Y)) && (absbit & (1 << ABS_PRESSURE)))) {
+-		fprintf(stderr, "selected device is not a touchscreen I understand\n");
+-		return -1;
+ 	}
+ 
+ 	if (bit & (1 << EV_SYN))

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
  2008-03-06 18:27 [Buildroot] svn commit: trunk/buildroot/package/tslib ninevoltz at uclibc.org
@ 2008-03-06 18:50 ` Hans-Christian Egtvedt
  2008-03-11 20:39   ` Will Wagner
  0 siblings, 1 reply; 12+ messages in thread
From: Hans-Christian Egtvedt @ 2008-03-06 18:50 UTC (permalink / raw)
  To: buildroot

On Thu, 2008-03-06 at 10:27 -0800, ninevoltz at uclibc.org wrote:
> Author: ninevoltz
> Date: 2008-03-06 10:27:57 -0800 (Thu, 06 Mar 2008)
> New Revision: 21235
> 
> Log:
> patches for tslib
> 
> Added:
>    trunk/buildroot/package/tslib/tslib-1.0-absbit.patch
>    trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch

These two patches are actually wrong, I think the tslib error you (I)
see is because of big-endian architecture. I will hopefully give it a go
next week. As long as I remember it (-:

<cut patches>

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
  2008-03-06 18:50 ` Hans-Christian Egtvedt
@ 2008-03-11 20:39   ` Will Wagner
  2008-06-11 14:37     ` Will Wagner
  0 siblings, 1 reply; 12+ messages in thread
From: Will Wagner @ 2008-03-11 20:39 UTC (permalink / raw)
  To: buildroot


>> Log:
>> patches for tslib
>>
>> Added:
>>    trunk/buildroot/package/tslib/tslib-1.0-absbit.patch
>>    trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch
> 
> These two patches are actually wrong, I think the tslib error you (I)
> see is because of big-endian architecture. I will hopefully give it a go
> next week. As long as I remember it (-:

tslib-1.0-remove-return-on-error-from-check-df.patch is definitely wrong 
- with this patch applied I get lots of error messages and inspecting 
the code the patch removes code that is needed.

Not sure about the tslib-1.0-absbit.patch patch. I think it is correct 
as you only need 16 bits as ABS_MAX is 0x3f

Regards,

Will

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-03-12 19:03 ninevoltz at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-12 19:03 UTC (permalink / raw)
  To: buildroot

Author: ninevoltz
Date: 2008-03-12 12:03:20 -0700 (Wed, 12 Mar 2008)
New Revision: 21318

Log:
patch to replace legacy bzero with memset in tslib

Added:
   trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch


Changeset:
Added: trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch	                        (rev 0)
+++ trunk/buildroot/package/tslib/tslib-1.0-remove-bzero.patch	2008-03-12 19:03:20 UTC (rev 21318)
@@ -0,0 +1,11 @@
+--- a/src/ts_parse_vars.c	2006-08-24 17:02:55.000000000 -0400
++++ b/src/ts_parse_vars.c	2008-03-12 13:57:01.000000000 -0400
+@@ -33,7 +33,7 @@ int tslib_parse_vars(struct tslib_module
+ 		return 0;
+ 
+ 	//s = alloca(strlen(str));
+-	bzero(s_holder,1024);
++	memset(s_holder, 0, 1024);
+ 	strncpy(s_holder,str,strlen(str));
+ 	s = s_holder;
+ 	while ((p = strsep(&s, " \t")) != NULL && ret == 0) {

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-06-03 10:17 jacmet at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: jacmet at uclibc.org @ 2008-06-03 10:17 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-03 03:17:44 -0700 (Tue, 03 Jun 2008)
New Revision: 22200

Log:
tslib: fix inputattach patch typos

Patch by Markus Heidelberg.

tslib should be changed to use inputattach from the input-tools package
instead though.


Modified:
   trunk/buildroot/package/tslib/tslib_add_finddef_and_inputattach_utils.patch


Changeset:
Modified: trunk/buildroot/package/tslib/tslib_add_finddef_and_inputattach_utils.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib_add_finddef_and_inputattach_utils.patch	2008-06-03 09:02:32 UTC (rev 22199)
+++ trunk/buildroot/package/tslib/tslib_add_finddef_and_inputattach_utils.patch	2008-06-03 10:17:44 UTC (rev 22200)
@@ -115,11 +115,11 @@
 +#endif
 +#ifndef SERIO_SUNKBD
 +  #define SERIO_SUNKBD    0x10
-+#endif SERIO_SUNKBD
++#endif
 +#ifndef SERIO_WARRIOR
 +  #define SERIO_WARRIOR   0x18
 +#endif
-+#ifndef SERIO_WARRIOR
++#ifndef SERIO_SPACEORB
 +  #define SERIO_SPACEORB  0x19
 +#endif
 +#ifndef SERIO_MAGELLAN

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
  2008-03-11 20:39   ` Will Wagner
@ 2008-06-11 14:37     ` Will Wagner
  0 siblings, 0 replies; 12+ messages in thread
From: Will Wagner @ 2008-06-11 14:37 UTC (permalink / raw)
  To: buildroot

Will Wagner wrote:
>>> Log:
>>> patches for tslib
>>>
>>> Added:
>>>    trunk/buildroot/package/tslib/tslib-1.0-absbit.patch
>>>    trunk/buildroot/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch
>> These two patches are actually wrong, I think the tslib error you (I)
>> see is because of big-endian architecture. I will hopefully give it a go
>> next week. As long as I remember it (-:
> 
> tslib-1.0-remove-return-on-error-from-check-df.patch is definitely wrong 
> - with this patch applied I get lots of error messages and inspecting 
> the code the patch removes code that is needed.
> 
> Not sure about the tslib-1.0-absbit.patch patch. I think it is correct 
> as you only need 16 bits as ABS_MAX is 0x3f
> 

Have looked at this again and the tslib-1.0-absbit.patch patch is 
definitely wrong. ABS_MAX is 0x3f which means that it needs 63 bits. 
There is a seperate bug with tslib though. The ioctl calls to get bit 
and absbit are wrong. They pass in the size as sizeof(bit) * 8 but the 
size should be in bytes and not bits. This means that it things the 
variables are very large. If absbit is declared as only 32 bits (as in 
the patch) then because of the size being passed to ioctl wrong that 
call zeros bits as it is adjacent on the stack. Although the test for 
EV_ABS has already passed is does mean that using_syn is never set.

I also think there is a performance optimisation that can be made. 
Currently ts_input_read() checks is sane_fd == 0 and if so calls 
check_fd(). I believe once the check has succeeded there is no need to 
call it again for the device (I don't think input device capabilities 
can change on the fly). The mechanism is already in place to do this, 
check_fd() just needs to return >0 on success.

Attached is a patch for those two issues.

Will.
-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  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-1.0-checkfd_fixes.patch
Url: http://busybox.net/lists/buildroot/attachments/20080611/34cf45c2/attachment-0001.txt 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-07-05  4:30 ulf at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: ulf at uclibc.org @ 2008-07-05  4:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2008-07-04 21:30:05 -0700 (Fri, 04 Jul 2008)
New Revision: 22641

Log:
Ensure tslib uses config.* from buildroot

Modified:
   trunk/buildroot/package/tslib/tslib.mk


Changeset:
Modified: trunk/buildroot/package/tslib/tslib.mk
===================================================================
--- trunk/buildroot/package/tslib/tslib.mk	2008-07-04 22:29:50 UTC (rev 22640)
+++ trunk/buildroot/package/tslib/tslib.mk	2008-07-05 04:30:05 UTC (rev 22641)
@@ -20,8 +20,9 @@
 	touch $(TSLIB_DIR)/.patched
 
 $(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
-	(cd $(TSLIB_DIR); rm -rf config.cache; \
-	./autogen.sh; \
+	(cd $(TSLIB_DIR); rm -rf config.cache; ./autogen.sh)
+	$(CONFIG_UPDATE) $(TSLIB_DIR)
+	(cd $(TSLIB_DIR) && \
 	$(TARGET_CONFIGURE_OPTS) \
 	CFLAGS="$(TARGET_CFLAGS) " \
 	./configure \

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-12-04 16:43 egtvedt at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-04 16:43 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-12-04 08:43:54 -0800 (Thu, 04 Dec 2008)
New Revision: 24273

Log:
tslib: use more robust $@ when touching target instead of explisit name



Modified:
   trunk/buildroot/package/tslib/tslib.mk


Changeset:
Modified: trunk/buildroot/package/tslib/tslib.mk
===================================================================
--- trunk/buildroot/package/tslib/tslib.mk	2008-12-04 16:13:08 UTC (rev 24272)
+++ trunk/buildroot/package/tslib/tslib.mk	2008-12-04 16:43:54 UTC (rev 24273)
@@ -17,7 +17,7 @@
 $(TSLIB_DIR)/.patched: $(DL_DIR)/$(TSLIB_SOURCE)
 	$(TSLIB_CAT) $(DL_DIR)/$(TSLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(TSLIB_DIR) package/tslib/ tslib\*.patch
-	touch $(TSLIB_DIR)/.patched
+	touch $@
 
 $(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
 	(cd $(TSLIB_DIR); rm -rf config.cache; ./autogen.sh)
@@ -47,11 +47,11 @@
 	--enable-input \
 	)
 	$(SED) 's:rpl\_malloc:malloc:g' $(TSLIB_DIR)/config.h
-	touch $(TSLIB_DIR)/.configured
+	touch $@
 
 $(TSLIB_DIR)/.compiled: $(TSLIB_DIR)/.configured
 	$(MAKE) -C $(TSLIB_DIR)
-	touch $(TSLIB_DIR)/.compiled
+	touch $@
 
 $(STAGING_DIR)/usr/lib/libts.so: $(TSLIB_DIR)/.compiled
 	$(MAKE) -C $(TSLIB_DIR) \

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2008-12-04 16:47 egtvedt at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: egtvedt at uclibc.org @ 2008-12-04 16:47 UTC (permalink / raw)
  To: buildroot

Author: egtvedt
Date: 2008-12-04 08:47:19 -0800 (Thu, 04 Dec 2008)
New Revision: 24274

Log:
tslib: add dependency to hsot-autoconf and host-automake

Tslib uses autoconf and automake during configure section, make sure it is
available before building tslib.



Modified:
   trunk/buildroot/package/tslib/tslib.mk


Changeset:
Modified: trunk/buildroot/package/tslib/tslib.mk
===================================================================
--- trunk/buildroot/package/tslib/tslib.mk	2008-12-04 16:43:54 UTC (rev 24273)
+++ trunk/buildroot/package/tslib/tslib.mk	2008-12-04 16:47:19 UTC (rev 24274)
@@ -20,7 +20,7 @@
 	touch $@
 
 $(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
-	(cd $(TSLIB_DIR); rm -rf config.cache; ./autogen.sh)
+	(cd $(TSLIB_DIR); rm -rf config.cache; PATH=$(TARGET_PATH) ./autogen.sh)
 	$(CONFIG_UPDATE) $(TSLIB_DIR)
 	(cd $(TSLIB_DIR) && \
 	$(TARGET_CONFIGURE_OPTS) \
@@ -84,7 +84,7 @@
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_test
 	cp -dpf package/tslib/ts.conf $(TARGET_DIR)/etc/
 
-tslib: uclibc $(TARGET_DIR)/usr/lib/libts.so
+tslib: uclibc host-automake host-autoconf $(TARGET_DIR)/usr/lib/libts.so
 
 tslib-build: uclibc $(TSLIB_DIR)/.configured
 	rm -f $(TSLIB_DIR)/.compiled

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2009-02-18 14:16 jacmet at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: jacmet at uclibc.org @ 2009-02-18 14:16 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-18 14:16:34 +0000 (Wed, 18 Feb 2009)
New Revision: 25363

Log:
tslib: doesn't use C++, so don't require it in the configure script

Added:
   trunk/buildroot/package/tslib/tslib-1.0-no-cxx.patch


Changeset:
Added: trunk/buildroot/package/tslib/tslib-1.0-no-cxx.patch
===================================================================
--- trunk/buildroot/package/tslib/tslib-1.0-no-cxx.patch	                        (rev 0)
+++ trunk/buildroot/package/tslib/tslib-1.0-no-cxx.patch	2009-02-18 14:16:34 UTC (rev 25363)
@@ -0,0 +1,17 @@
+tslib: Doesn't use C++, so don't require it in the configure script
+---
+ configure.ac |    1 -
+ 1 file changed, 1 deletion(-)
+
+Index: tslib-1.0/configure.ac
+===================================================================
+--- tslib-1.0.orig/configure.ac
++++ tslib-1.0/configure.ac
+@@ -15,7 +15,6 @@
+ TS_DEFAULT_FLAGS
+ 
+ # Checks for programs.
+-AC_PROG_CXX
+ AC_PROG_CC
+ AC_PROG_CPP
+ TS_CC_HIDDEN_VISIBILITY

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/package/tslib
@ 2009-02-18 14:16 jacmet at uclibc.org
  0 siblings, 0 replies; 12+ messages in thread
From: jacmet at uclibc.org @ 2009-02-18 14:16 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-18 14:16:38 +0000 (Wed, 18 Feb 2009)
New Revision: 25364

Log:
tslib: convert to Makefile.autotools.in format

Patch by Sven Neumann <s.neumann@phase-zero.de>
Closes #61.

Modified:
   trunk/buildroot/package/tslib/Config.in
   trunk/buildroot/package/tslib/tslib.mk


Changeset:
Modified: trunk/buildroot/package/tslib/Config.in
===================================================================
--- trunk/buildroot/package/tslib/Config.in	2009-02-18 14:16:34 UTC (rev 25363)
+++ trunk/buildroot/package/tslib/Config.in	2009-02-18 14:16:38 UTC (rev 25364)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_TSLIB
 	bool "libts - The Touchscreen tslib Library"
 	help
-
 	    http://tslib.berlios.de/
 
 	    Tslib is an abstraction layer for touchscreen panel events.

Modified: trunk/buildroot/package/tslib/tslib.mk
===================================================================
--- trunk/buildroot/package/tslib/tslib.mk	2009-02-18 14:16:34 UTC (rev 25363)
+++ trunk/buildroot/package/tslib/tslib.mk	2009-02-18 14:16:38 UTC (rev 25364)
@@ -1,109 +1,22 @@
 #############################################################
 #
-# libts
+# tslib
 #
 #############################################################
 TSLIB_VERSION:=1.0
 TSLIB_SOURCE:=tslib-$(TSLIB_VERSION).tar.bz2
 TSLIB_SITE:=http://download.berlios.de/tslib
-TSLIB_CAT:=$(BZCAT)
-TSLIB_DIR:=$(BUILD_DIR)/tslib-$(TSLIB_VERSION)
+TSLIB_AUTORECONF = YES
+TSLIB_LIBTOOL_PATCH = NO
+TSLIB_INSTALL_STAGING = YES
+TSLIB_INSTALL_TARGET = YES
+TSLIB_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
 
-$(DL_DIR)/$(TSLIB_SOURCE):
-	$(call DOWNLOAD,$(TSLIB_SITE),$(TSLIB_SOURCE))
+TSLIB_CONF_OPT = \
+	--enable-shared	\
+	--prefix=/usr	\
+	--sysconfdir=/etc
 
-tslib-source: $(DL_DIR)/$(TSLIB_SOURCE)
+TSLIB_DEPENDENCIES = uclibc
 
-$(TSLIB_DIR)/.patched: $(DL_DIR)/$(TSLIB_SOURCE)
-	$(TSLIB_CAT) $(DL_DIR)/$(TSLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(TSLIB_DIR) package/tslib/ tslib\*.patch
-	touch $@
-
-$(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
-	(cd $(TSLIB_DIR); rm -rf config.cache; PATH=$(TARGET_PATH) ./autogen.sh)
-	$(CONFIG_UPDATE) $(TSLIB_DIR)
-	(cd $(TSLIB_DIR) && \
-	$(TARGET_CONFIGURE_OPTS) \
-	CFLAGS="$(TARGET_CFLAGS) " \
-	./configure \
-	--target=$(GNU_TARGET_NAME) \
-	--host=$(GNU_TARGET_NAME) \
-	--build=$(GNU_HOST_NAME) \
-	--prefix=$(STAGING_DIR)/usr \
-	--exec_prefix=$(STAGING_DIR)/usr \
-	--sysconfdir=/etc \
-	--datadir=/usr/share \
-	--localstatedir=/var \
-	--includedir=$(STAGING_DIR)/usr/include \
-	--libdir=$(STAGING_DIR)/usr/lib \
-	--disable-static \
-	--disable-linear-h2200 \
-	--disable-ucb1x00 \
-	--disable-corgi \
-	--disable-collie \
-	--disable-h3600 \
-	--disable-mk712 \
-	--disable-arctic2 \
-	--enable-input \
-	)
-	$(SED) 's:rpl\_malloc:malloc:g' $(TSLIB_DIR)/config.h
-	touch $@
-
-$(TSLIB_DIR)/.compiled: $(TSLIB_DIR)/.configured
-	$(MAKE) -C $(TSLIB_DIR)
-	touch $@
-
-$(STAGING_DIR)/usr/lib/libts.so: $(TSLIB_DIR)/.compiled
-	$(MAKE) -C $(TSLIB_DIR) \
-	    prefix=$(STAGING_DIR)/usr \
-	    exec_prefix=$(STAGING_DIR)/usr \
-	    bindir=$(STAGING_DIR)/usr/bin \
-	    sbindir=$(STAGING_DIR)/usr/sbin \
-	    libexecdir=$(STAGING_DIR)/usr/libexec \
-	    datadir=$(STAGING_DIR)/usr/share \
-	    sysconfdir=$(STAGING_DIR)/etc \
-	    localstatedir=$(STAGING_DIR)/var \
-	    libdir=$(STAGING_DIR)/usr/lib \
-	    includedir=$(STAGING_DIR)/usr/include \
-	    infodir=$(STAGING_DIR)/info \
-	    mandir=$(STAGING_DIR)/man \
-	    install
-
-$(TARGET_DIR)/usr/lib/libts.so: $(STAGING_DIR)/usr/lib/libts.so
-	cp -dpf $(STAGING_DIR)/usr/lib/libts*.so* $(TARGET_DIR)/usr/lib/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libts.so*
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(STAGING_DIR)/usr/lib/ts/*.so
-	cp -dpf $(STAGING_DIR)/usr/lib/ts/*.so $(TARGET_DIR)/usr/lib/
-	cp -dpf $(STAGING_DIR)/usr/bin/ts_calibrate $(TARGET_DIR)/usr/bin/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_calibrate
-	cp -dpf $(STAGING_DIR)/usr/bin/ts_finddev $(TARGET_DIR)/usr/bin/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_finddev
-	cp -dpf $(STAGING_DIR)/usr/bin/inputattach $(TARGET_DIR)/usr/bin/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/inputattach
-	cp -dpf $(STAGING_DIR)/usr/bin/ts_test $(TARGET_DIR)/usr/bin/
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/ts_test
-	cp -dpf package/tslib/ts.conf $(TARGET_DIR)/etc/
-
-tslib: uclibc host-automake host-autoconf $(TARGET_DIR)/usr/lib/libts.so
-
-tslib-build: uclibc $(TSLIB_DIR)/.configured
-	rm -f $(TSLIB_DIR)/.compiled
-	$(MAKE) -C $(TSLIB_DIR)
-	touch $(TSLIB_DIR)/.compiled
-
-tslib-clean:
-	-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(TSLIB_DIR) uninstall
-	rm -f $(STAGING_DIR)/lib/libts.* $(STAGING_DIR)/usr/lib/libts.*
-	-$(MAKE) -C $(TSLIB_DIR) clean
-
-tslib-dirclean:
-	rm -rf $(TSLIB_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_TSLIB),y)
-TARGETS+=tslib
-endif
+$(eval $(call AUTOTARGETS,package,tslib))

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-02-18 14:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 18:27 [Buildroot] svn commit: trunk/buildroot/package/tslib ninevoltz at uclibc.org
2008-03-06 18:50 ` Hans-Christian Egtvedt
2008-03-11 20:39   ` Will Wagner
2008-06-11 14:37     ` Will Wagner
  -- strict thread matches above, loose matches on Subject: below --
2009-02-18 14:16 jacmet at uclibc.org
2009-02-18 14:16 jacmet at uclibc.org
2008-12-04 16:47 egtvedt at uclibc.org
2008-12-04 16:43 egtvedt at uclibc.org
2008-07-05  4:30 ulf at uclibc.org
2008-06-03 10:17 jacmet at uclibc.org
2008-03-12 19:03 ninevoltz at uclibc.org
2007-12-11 20:11 vanokuten at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox