summaryrefslogtreecommitdiffstats
path: root/rules/sdl_image.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-06-04 11:40:10 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-06-04 11:40:10 +0000
commit704cdcd199abb3c92a6212958babe5f320e71267 (patch)
tree96edcacc3d467f791fe90afee1243265604687d3 /rules/sdl_image.in
parent739b270da23d62d6d26235e7f6b00081d642729a (diff)
downloadptxdist-704cdcd199abb3c92a6212958babe5f320e71267.tar.gz
ptxdist-704cdcd199abb3c92a6212958babe5f320e71267.tar.xz
* sdl_image.in:
added options git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8299 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/sdl_image.in')
-rw-r--r--rules/sdl_image.in51
1 files changed, 47 insertions, 4 deletions
diff --git a/rules/sdl_image.in b/rules/sdl_image.in
index 71edc6b07..bbb377283 100644
--- a/rules/sdl_image.in
+++ b/rules/sdl_image.in
@@ -1,7 +1,50 @@
-config SDL_IMAGE
+menuconfig SDL_IMAGE
bool
- depends on BROKEN
- # Does not compile with armv4t compiler; needs sdl.h, which is SDL.h
select SDL
- prompt "SDL Image"
+ prompt "SDL image "
+ select LIBPNG if SDL_IMAGE__PNG
+ select LIBJPEG if SDL_IMAGE__JPG
+ help
+ This is a simple library to load images of various
+ formats as SDL surfaces. This library currently supports
+ BMP, PPM, PCX, GIF, JPEG, PNG, TIFF, and XPM formats.
+if SDL_IMAGE
+
+config SDL_IMAGE__BMP
+ bool "bmp support"
+
+config SDL_IMAGE__GIF
+ bool "gif support"
+
+config SDL_IMAGE__JPG
+ bool "jpeg support"
+
+config SDL_IMAGE__LBM
+ bool "lbm support"
+
+config SDL_IMAGE__PCX
+ bool "pcx support"
+
+config SDL_IMAGE__PNG
+ bool "png support"
+
+config SDL_IMAGE__PNM
+ bool "pnm support"
+
+config SDL_IMAGE__TGA
+ bool "tga support"
+
+config SDL_IMAGE__TIF
+ bool "tiff support"
+
+config SDL_IMAGE__XCF
+ bool "xcf support"
+
+config SDL_IMAGE__XPM
+ bool "xpm support"
+
+config SDL_IMAGE__XV
+ bool "xv support"
+
+endif