All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected.
@ 2010-01-26 12:04 julien.boibessot at free.fr
  2010-01-26 12:18 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: julien.boibessot at free.fr @ 2010-01-26 12:04 UTC (permalink / raw)
  To: buildroot

From: Julien Boibessot <julien.boibessot@armadeus.com>

If SDL is built before tslib, then SDL can't detect it at configure time and so
touchscreen's support in SDL is crappy.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
---
 package/sdl/sdl.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index f66ecc4..959be7e 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -41,6 +41,10 @@ else
 SDL_X11=--enable-video-x11=no
 endif
 
+ifeq ($(BR2_PACKAGE_TSLIB),y)
+SDL_DEPENDENCIES += tslib
+endif
+
 $(DL_DIR)/$(SDL_SOURCE):
 	$(call DOWNLOAD,$(SDL_SITE),$(SDL_SOURCE))
 
-- 
1.6.0.4

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

* [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected.
  2010-01-26 12:04 [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected julien.boibessot at free.fr
@ 2010-01-26 12:18 ` Peter Korsgaard
  2010-01-26 13:19   ` Julien Boibessot
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2010-01-26 12:18 UTC (permalink / raw)
  To: buildroot

>>>>> "julien" == julien boibessot <julien.boibessot@free.fr> writes:

 julien> From: Julien Boibessot <julien.boibessot@armadeus.com>

 julien> If SDL is built before tslib, then SDL can't detect it at
 julien> configure time and so touchscreen's support in SDL is crappy.

Committed, thanks!

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected.
  2010-01-26 12:18 ` Peter Korsgaard
@ 2010-01-26 13:19   ` Julien Boibessot
  2010-01-26 15:19     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Boibessot @ 2010-01-26 13:19 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard a ?crit :
>
>  julien> From: Julien Boibessot <julien.boibessot@armadeus.com>
>
>  julien> If SDL is built before tslib, then SDL can't detect it at
>  julien> configure time and so touchscreen's support in SDL is crappy.
>
> Committed, thanks!
>   
Should I also add a "--enable-tslib=no" configure option (not tested) to
SDL, when tslib is not selected in BR ?
(like for directfb or x11)

Regards,
Julien

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

* [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected.
  2010-01-26 13:19   ` Julien Boibessot
@ 2010-01-26 15:19     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-01-26 15:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Julien" == Julien Boibessot <julien.boibessot@free.fr> writes:

Hi,

 Julien> Should I also add a "--enable-tslib=no" configure option (not
 Julien> tested) to SDL, when tslib is not selected in BR ?  (like for
 Julien> directfb or x11)

Only if configure does the wrong thing (E.G. detects tslib being
installed on the host when you do a target == host build).

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2010-01-26 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26 12:04 [Buildroot] [PATCH] SDL needs tslib to be compiled first when selected julien.boibessot at free.fr
2010-01-26 12:18 ` Peter Korsgaard
2010-01-26 13:19   ` Julien Boibessot
2010-01-26 15:19     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.