![Arnout Vandecappelle](/assets/img/avatar_default.png)
Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
52 lines
1.8 KiB
Makefile
52 lines
1.8 KiB
Makefile
################################################################################
|
|
#
|
|
# sdl_image
|
|
#
|
|
################################################################################
|
|
|
|
SDL_IMAGE_VERSION = 1.2.12
|
|
SDL_IMAGE_SOURCE = SDL_image-$(SDL_IMAGE_VERSION).tar.gz
|
|
SDL_IMAGE_SITE = http://www.libsdl.org/projects/SDL_image/release
|
|
SDL_IMAGE_INSTALL_STAGING = YES
|
|
SDL_IMAGE_LICENSE = Zlib
|
|
SDL_IMAGE_LICENSE_FILES = COPYING
|
|
|
|
SDL_IMAGE_CONF_OPTS = \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
--with-sdl-exec-prefix=$(STAGING_DIR)/usr \
|
|
--disable-sdltest \
|
|
--disable-static \
|
|
--enable-bmp=$(if $(BR2_PACKAGE_SDL_IMAGE_BMP),yes,no) \
|
|
--enable-gif=$(if $(BR2_PACKAGE_SDL_IMAGE_GIF),yes,no) \
|
|
--enable-jpg=$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),yes,no) \
|
|
--enable-lbm=$(if $(BR2_PACKAGE_SDL_IMAGE_LBM),yes,no) \
|
|
--enable-pcx=$(if $(BR2_PACKAGE_SDL_IMAGE_PCX),yes,no) \
|
|
--enable-png=$(if $(BR2_PACKAGE_SDL_IMAGE_PNG),yes,no) \
|
|
--enable-pnm=$(if $(BR2_PACKAGE_SDL_IMAGE_PNM),yes,no) \
|
|
--enable-tga=$(if $(BR2_PACKAGE_SDL_IMAGE_TARGA),yes,no) \
|
|
--enable-tif=$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),yes,no) \
|
|
--enable-webp=$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),yes,no) \
|
|
--enable-xcf=$(if $(BR2_PACKAGE_SDL_IMAGE_XCF),yes,no) \
|
|
--enable-xpm=$(if $(BR2_PACKAGE_SDL_IMAGE_XPM),yes,no) \
|
|
--enable-xv=$(if $(BR2_PACKAGE_SDL_IMAGE_XV),yes,no)
|
|
|
|
SDL_IMAGE_DEPENDENCIES = sdl \
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_JPEG),jpeg) \
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_PNG),libpng) \
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_TIFF),tiff) \
|
|
$(if $(BR2_PACKAGE_SDL_IMAGE_WEBP),webp)
|
|
|
|
HOST_SDL_IMAGE_CONF_OPTS = \
|
|
--with-sdl-prefix=$(HOST_DIR) \
|
|
--with-sdl-exec-prefix=$(HOST_DIR) \
|
|
--disable-sdltest \
|
|
--disable-static \
|
|
--disable-jpg-shared \
|
|
--disable-png-shared \
|
|
--disable-tif-shared
|
|
|
|
HOST_SDL_IMAGE_DEPENDENCIES = host-libjpeg host-libpng host-sdl
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|