summaryrefslogtreecommitdiff
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 09:48:23 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 09:48:23 +0000
commitde18b661cf7849f0d16f11205fc15c5f2e03b2f8 (patch)
treea77a8483ae1c66a24f74f1f46a945a1d8f564122 /package/Makefile.in
parent732beaf4d943c5ba6ef6b552d80a6a092009df4b (diff)
- introduce TARGET_CONFIGURE_ARGS to hold presets for configure for target packages
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index f0f4c7b74..0b57a9c08 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -186,8 +186,33 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
STRIP_FOR_TARGET=$(TARGET_CROSS)strip \
OBJCOPY_FOR_TARGET=$(TARGET_CROSS)objcopy
+#######################################################################
+# settings we need to pass to configure
+
+# does unaligned access trap?
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=yes
+ifeq ($(BR2_i386),y)
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
+endif
+ifeq ($(BR2_x86_64),y)
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
+endif
+ifeq ($(BR2_m68k),y)
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
+endif
+ifeq ($(BR2_s390),y)
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
+endif
+ifeq ($(BR2_powerpc)$(BR2_ENDIAN),yBIG)
+BR2_AC_CV_TRAP_CHECK=ac_cv_lbl_unaligned_fail=no
+endif
+
+TARGET_CONFIGURE_ARGS= \
+ $(BR2_AC_CV_TRAP_CHECK) \
+#######################################################################
+
ifeq ($(BR2_ENABLE_LOCALE),y)
DISABLE_NLS:=
else
@@ -207,6 +232,7 @@ TARGET_CONFIGURE_OPTS+=CXX=""
endif
+
# X Windowing system
XSERVER:=