summaryrefslogtreecommitdiff
path: root/package/mtd/mtd-utils/mtd.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-11-11 18:35:43 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2008-11-11 18:35:43 +0000
commit418c84b24b4db33144ae06d436e15464efa85337 (patch)
treead3047d8f626b94ea68a01d3c18278e38b851744 /package/mtd/mtd-utils/mtd.mk
parent60d39dbb3f23fe4c18f1e384bfae9a3a861fe3da (diff)
Fix Qtopia build issues
This patch fixes two Qtopia build issues, encountered while trying to use system implementation of zlib, freetype, jpeg and libpng : * The build process doesn't look in $(STAGING_DIR)/usr/include for includes and $(STAGING_DIR)/usr/lib. Same problem as the patch currently floating around adding LDFLAGS to TARGET_CONFIGURE_OPTS, but as Qtopia doesn't use TARGET_CONFIGURE_OPTS, we need a specific fix here. So we use the -I and -L options of Qtopia's configure script. * The build process doesn't use pkg-config to get the header path for Freetype headers (located in $(STAGING_DIR)/usr/include/freetype2 and not directly in $(STAGING_DIR)/usr/include/). There was already a fix for this, consisting in adding $(FREETYPE_DIR)/include to the -I path of Qtopia's configure. This patch modifies this fix to use $(STAGING_DIR)/usr/include/freetype2 instead, which looks more coherent with how all the packages are built (using $(STAGING_DIR) as the reference to get headers and libraries). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mtd/mtd-utils/mtd.mk')
0 files changed, 0 insertions, 0 deletions