summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-22 09:37:39 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-22 09:37:39 +0000
commitce8e801d9b95f70dbffff6e8d7de4df67478ff29 (patch)
treea39d344e60a677e208e37d27660077aad538a656
parent2b5598807571ca28c8c81a415ea14748fff94fc2 (diff)
parent0e17043b9f0c264dc77531c3c635c4e2e3d6a819 (diff)
merge of '81bbe6194f50dea1d1a9838b702680d8b353e689'
and '86d064241f76c59a2663d25f57ee15ef950bee4b'
-rw-r--r--conf/machine/compulab-pxa270.conf2
-rw-r--r--conf/machine/magician.conf13
-rw-r--r--packages/abiword/abiword-2.5.inc62
-rw-r--r--packages/abiword/abiword_2.5.0.bb14
-rwxr-xr-xpackages/abiword/files/cdump.pl32
-rw-r--r--packages/asterisk/asterisk-1.2.14/.mtn2git_empty0
-rw-r--r--packages/asterisk/asterisk-1.2.14/asterisk.patch221
-rw-r--r--packages/asterisk/asterisk-1.2.14/uclibc-compat-getloadavg.patch13
-rw-r--r--packages/asterisk/asterisk-1.2.14/uclibc-dsn.patch18
-rw-r--r--packages/asterisk/asterisk_1.2.14.bb38
-rw-r--r--packages/avahi/avahi_0.6.10.bb3
-rw-r--r--packages/avahi/avahi_0.6.11.bb3
-rw-r--r--packages/avahi/avahi_0.6.12.bb7
-rw-r--r--packages/avahi/avahi_0.6.13.bb7
-rw-r--r--packages/avahi/avahi_0.6.16.bb (renamed from packages/avahi/avahi_0.6.14.bb)0
-rw-r--r--packages/avahi/avahi_0.6.5.bb1
-rw-r--r--packages/avahi/avahi_0.6.8.bb1
-rw-r--r--packages/bluez/bluez-hcidump_1.33.bb (renamed from packages/bluez/bluez-hcidump_1.25.bb)2
-rw-r--r--packages/bluez/bluez-libs_3.8.bb (renamed from packages/bluez/bluez-libs_3.1.bb)0
-rw-r--r--packages/bluez/bluez-utils_3.8.bb (renamed from packages/bluez/bluez-utils_3.1.bb)5
-rw-r--r--packages/busybox/busybox-1.3.1/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/add-getkey-applet.patch167
-rw-r--r--packages/busybox/busybox-1.3.1/angstrom/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/angstrom/defconfig647
-rw-r--r--packages/busybox/busybox-1.3.1/below.patch46
-rwxr-xr-xpackages/busybox/busybox-1.3.1/busybox-mdev.sh69
-rw-r--r--packages/busybox/busybox-1.3.1/defconfig647
-rw-r--r--packages/busybox/busybox-1.3.1/dhcp-hostname.patch30
-rw-r--r--packages/busybox/busybox-1.3.1/dhcpretrytime.patch85
-rw-r--r--packages/busybox/busybox-1.3.1/fbset.patch24
-rw-r--r--packages/busybox/busybox-1.3.1/hdparm_M.patch47
-rw-r--r--packages/busybox/busybox-1.3.1/ifupdown-spurious-environ.patch12
-rw-r--r--packages/busybox/busybox-1.3.1/iproute-flush-cache.patch23
-rw-r--r--packages/busybox/busybox-1.3.1/mnci/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/mnci/defconfig643
-rw-r--r--packages/busybox/busybox-1.3.1/mount-all-type.patch84
-rw-r--r--packages/busybox/busybox-1.3.1/nylon/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/nylon/defconfig568
-rw-r--r--packages/busybox/busybox-1.3.1/openmn/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/readlink.patch85
-rw-r--r--packages/busybox/busybox-1.3.1/rmmod.patch40
-rw-r--r--packages/busybox/busybox-1.3.1/slugos/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/slugos/defconfig610
-rw-r--r--packages/busybox/busybox-1.3.1/slugos/udhcpscript.patch133
-rw-r--r--packages/busybox/busybox-1.3.1/sparc/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/udhcppidfile-breakage.patch57
-rw-r--r--packages/busybox/busybox-1.3.1/udhcppidfile.patch274
-rw-r--r--packages/busybox/busybox-1.3.1/udhcpscript.patch17
-rw-r--r--packages/busybox/busybox-1.3.1/wrt54/.mtn2git_empty0
-rw-r--r--packages/busybox/busybox-1.3.1/xargs-double-size.patch13
-rw-r--r--packages/busybox/busybox_1.3.1.bb100
-rw-r--r--packages/gnome/libgnomeui_2.16.1.bb (renamed from packages/gnome/libgnomeui_2.16.0.bb)0
-rw-r--r--packages/jpeg/jpeg_6b.bb4
-rw-r--r--packages/libnotify/libnotify_0.4.3.bb (renamed from packages/libnotify/libnotify_0.3.2.bb)0
-rw-r--r--packages/libnss-mdns/libnss-mdns_0.9.bb (renamed from packages/libnss-mdns/libnss-mdns_0.8.bb)2
-rw-r--r--packages/libsexy/libsexy.inc (renamed from packages/libsexy/libsexy_0.1.4.bb)4
-rw-r--r--packages/libsexy/libsexy_0.1.10.bb2
-rw-r--r--packages/libsexy/libsexy_0.1.5.bb16
-rw-r--r--packages/libsexy/libsexy_0.1.6.bb16
-rw-r--r--packages/libsexy/libsexy_0.1.8.bb17
-rw-r--r--packages/lsof/lsof_4.77.bb3
-rw-r--r--packages/musicpd/mpc_0.11.2.bb4
-rw-r--r--packages/musicpd/mpc_0.12.0.bb11
-rw-r--r--packages/mysql/mysql-native_4.1.18.bb2
-rw-r--r--packages/neon/neon_0.25.5.bb2
-rw-r--r--packages/notification-daemon/files/.mtn2git_empty0
-rw-r--r--packages/notification-daemon/files/dbus-glib-tool-prefix.patch13
-rw-r--r--packages/notification-daemon/notification-daemon_0.3.6.bb (renamed from packages/notification-daemon/notification-daemon_0.3.4.bb)3
-rw-r--r--packages/portmap/portmap.inc2
-rw-r--r--packages/qpf-fonts/qpf-qte_2.3.10.bb2
-rw-r--r--packages/qpf-fonts/qpf-unifont_1.0.bb1
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.7/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.7/only-the-modules.patch26
-rw-r--r--packages/wlan-ng/wlan-ng-modules_0.2.7.bb6
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.7/.mtn2git_empty0
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.7/config.in21
-rw-r--r--packages/wlan-ng/wlan-ng-utils-0.2.7/only-the-utils.patch26
-rw-r--r--packages/wlan-ng/wlan-ng-utils_0.2.7.bb69
78 files changed, 5030 insertions, 85 deletions
diff --git a/conf/machine/compulab-pxa270.conf b/conf/machine/compulab-pxa270.conf
index 3968bcb6f2..95be1624f0 100644
--- a/conf/machine/compulab-pxa270.conf
+++ b/conf/machine/compulab-pxa270.conf
@@ -12,7 +12,7 @@ PACKAGE_EXTRA_ARCHS = "armv4 armv5te"
require conf/machine/include/tune-xscale.conf
# used by sysvinit_2
-SERIAL_CONSOLE = "115200 ttySA0"
+SERIAL_CONSOLE = "38400 ttySA0"
# used by opie-collections.inc
ROOT_FLASH_SIZE = "32"
diff --git a/conf/machine/magician.conf b/conf/machine/magician.conf
index 4e6c9a625a..3d1b602def 100644
--- a/conf/machine/magician.conf
+++ b/conf/machine/magician.conf
@@ -17,7 +17,7 @@ require conf/machine/include/tune-xscale.conf
ROOT_FLASH_SIZE = "80"
VOLATILE_STORAGE_SIZE = "64"
GUI_MACHINE_CLASS = "smallscreen"
-MACHINE_FEATURES = "kernel26 touchscreen apm alsa bluetooth irda usbgadget screen"
+MACHINE_FEATURES = "alsa apm bluetooth irda kernel26 phone screen touchscreen usbgadget"
#
# Software/packages selection
@@ -34,7 +34,11 @@ MACHINE_EXTRA_RRECOMMENDS = " \
kernel-module-pxaficp-ir \
kernel-module-uinput \
kernel-module-hci-usb \
- "
+ kernel-module-magician-flash \
+ kernel-module-magician-ds1wm \
+ kernel-module-magician-battery \
+ kernel-module-magician-phone \
+ kernel-module-snd-soc-magician"
#
# Modules autoload and other boot properties
@@ -44,6 +48,11 @@ module_autoload_leds-magician = "leds-magician"
module_autoload_snd-pcm-oss = "snd-pcm-oss"
module_autoload_snd-mixer-oss = "snd-mixer-oss"
module_autoload_pxa27x_udc = "pxa27x_udc"
+module_autoload_magician_ds1wm = "magician_ds1wm"
+module_autoload_magician-battery = "magician-battery"
+module_autoload_magician_phone = "magician_phone"
+module_autoload_snd-soc-magician = "snd-soc-magician"
+module_autoload_hci_usb = "hci_usb"
#FIXME: this should be controlled by a userspace utility later.
module_autoload_g_ether = "g_ether"
diff --git a/packages/abiword/abiword-2.5.inc b/packages/abiword/abiword-2.5.inc
new file mode 100644
index 0000000000..cd95777227
--- /dev/null
+++ b/packages/abiword/abiword-2.5.inc
@@ -0,0 +1,62 @@
+DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word"
+SECTION = "gnome/office"
+HOMEPAGE = "http://www.abiword.org""
+LICENSE = "GPLv2"
+
+DEPENDS = "perl-native wv libgsf libgnomeprint libgnomeprintui libglade libfribidi enchant jpeg libpng libxml2"
+RDEPENDS = "enchant glibc-gconv-ibm850 glibc-gconv-cp1252 \
+ glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
+
+SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
+
+#want 2.x from 2.x.y for the installation directory
+SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+
+FILES_${PN} += " \
+ ${datadir}/icons/* \
+ ${datadir}/AbiSuite-${SHRT_VER}/AbiWord/glade \
+ ${datadir}/AbiSuite-${SHRT_VER}/AbiWord/scripts \
+ ${datadir}/AbiSuite-${SHRT_VER}/AbiWord/system.profile-en \
+ ${datadir}/AbiSuite-${SHRT_VER}/AbiWord/system.profile-en_GB \
+# ${datadir}/AbiSuite-${SHRT_VER}/templates/A4.awt \
+# ${datadir}/AbiSuite-${SHRT_VER}/templates/US-Letter.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/normal.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/normal.awt-en_GB \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Employee-Directory.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Business-Report.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Fax-Coversheet.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Resume.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Two-Columns.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Memo.awt \
+ ${datadir}/AbiSuite-${SHRT_VER}/templates/Press-Release.awt "
+
+inherit autotools pkgconfig
+
+PARALLEL_MAKE = ""
+
+EXTRA_OECONF = " --disable-pspell \
+ --enable-enchant \
+ --with-sys-wv"
+
+# AbiWord configure.ac does not play nicely with autoreconf
+# so use the autogen.sh script that comes with AbiWord
+#
+do_configure() {
+ cd ${S}
+ export NOCONFIGURE="no"; ./autogen.sh
+ oe_runconf
+}
+
+
+do_install_append() {
+ install -d ${D}${datadir}/pixmaps/
+ mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/
+}
+
+PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates "
+
+FILES_abiword-clipart += "${datadir}/AbiSuite-${SHRT_VER}/clipart"
+FILES_abiword-icons += "${datadir}/AbiSuite-${SHRT_VER}/icons"
+FILES_abiword-strings += "${datadir}/AbiSuite-${SHRT_VER}/AbiWord/strings"
+FILES_abiword-systemprofiles += "${datadir}/AbiSuite-${SHRT_VER}/AbiWord/system.profile*"
+FILES_abiword-templates += "${datadir}/AbiSuite-${SHRT_VER}/templates"
diff --git a/packages/abiword/abiword_2.5.0.bb b/packages/abiword/abiword_2.5.0.bb
new file mode 100644
index 0000000000..82d4e0e944
--- /dev/null
+++ b/packages/abiword/abiword_2.5.0.bb
@@ -0,0 +1,14 @@
+require abiword-2.5.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI += " file://cdump.pl "
+
+PR = "r0"
+
+RCONFLICTS = "abiword-embedded"
+
+do_compile_prepend () {
+ cp ${WORKDIR}/cdump.pl ${S}/src/tools/cdump/xp/
+}
+
diff --git a/packages/abiword/files/cdump.pl b/packages/abiword/files/cdump.pl
new file mode 100755
index 0000000000..76f9c8841b
--- /dev/null
+++ b/packages/abiword/files/cdump.pl
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+
+# This script replace the cdump tool we used to build the ap_wp_Splash.cpp
+# Because the cdump tool has to be run as a part of building the AW package,
+# it breaks cross-compilation. A perl script seemed like a generic solution
+
+
+if ($#ARGV != 1 )
+{
+ print "Usage: $0 datafile arrayname $#ARGV $ARGV[0] $ARGV[1]\n";
+ exit(-1);
+}
+
+open FROM, "<$ARGV[0]" or die "Could not open file $ARGV[0]";
+binmode FROM;
+
+print "unsigned char $ARGV[1] [] = {\n";
+
+while ($len = read(FROM, $buf, 16))
+{
+ foreach(split(//,$buf))
+ {
+ printf("0x%02x,", ord($_));
+ }
+
+ print "\n";
+}
+
+
+printf "};\nunsigned long $ARGV[1]_sizeof = sizeof($ARGV[1]);\n";
+
+close FROM; \ No newline at end of file
diff --git a/packages/asterisk/asterisk-1.2.14/.mtn2git_empty b/packages/asterisk/asterisk-1.2.14/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/asterisk/asterisk-1.2.14/.mtn2git_empty
diff --git a/packages/asterisk/asterisk-1.2.14/asterisk.patch b/packages/asterisk/asterisk-1.2.14/asterisk.patch
new file mode 100644
index 0000000000..006b8e9291
--- /dev/null
+++ b/packages/asterisk/asterisk-1.2.14/asterisk.patch
@@ -0,0 +1,221 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- asterisk-1.2.9.1/./Makefile~asterisk
++++ asterisk-1.2.9.1/./Makefile
+@@ -331,7 +331,7 @@
+ ASTCFLAGS+= $(TRACE_FRAMES)
+ ASTCFLAGS+= $(MALLOC_DEBUG)
+ ASTCFLAGS+= $(BUSYDETECT)
+-ASTCFLAGS+= $(OPTIONS)
++#ASTCFLAGS+= $(OPTIONS)
+ ifneq ($(findstring dont-optimize,$(MAKECMDGOALS)),dont-optimize)
+ ASTCFLAGS+= -fomit-frame-pointer
+ endif
+@@ -347,12 +347,12 @@
+ netsock.o slinfactory.o ast_expr2.o ast_expr2f.o \
+ cryptostub.o
+
+-ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/sys/poll.h),)
++ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/include/sys/poll.h),)
+ OBJS+= poll.o
+ ASTCFLAGS+=-DPOLLCOMPAT
+ endif
+
+-ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/dlfcn.h),)
++ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/include/dlfcn.h),)
+ OBJS+= dlfcn.o
+ ASTCFLAGS+=-DDLFCNCOMPAT
+ endif
+@@ -397,7 +397,7 @@
+ endif
+
+ ifeq ($(MAKETOPLEVEL),$(MAKELEVEL))
+- CFLAGS+=$(ASTCFLAGS)
++override CFLAGS+=$(ASTCFLAGS)
+ endif
+
+ # This is used when generating the doxygen documentation
+@@ -519,7 +519,7 @@
+ fi
+ rm -f include/asterisk/build.h.tmp
+ $(CC) -c -o buildinfo.o $(CFLAGS) buildinfo.c
+- $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a stdtime/libtime.a $(LIBS)
++ $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a stdtime/libtime.a $(LDFLAGS) $(LIBS)
+
+ muted: muted.o
+ $(CC) $(AUDIO_LIBS) -o muted muted.o
+--- asterisk-1.2.9.1/codecs/gsm/Makefile~asterisk
++++ asterisk-1.2.9.1/codecs/gsm/Makefile
+@@ -51,7 +51,7 @@
+ ifneq (${PROC},ppc)
+ ifneq (${PROC},ppc64)
+ ifneq (${PROC},s390)
+-OPTIMIZE+=-march=$(PROC)
++#OPTIMIZE+=-march=$(PROC)
+ endif
+ endif
+ endif
+@@ -243,7 +243,7 @@
+ ifneq (${PROC},arm)
+ ifneq ($(shell uname -m), parisc)
+ ifneq ($(shell uname -m),s390)
+-GSM_SOURCES+= $(SRC)/k6opt.s
++#GSM_SOURCES+= $(SRC)/k6opt.s
+ endif
+ endif
+ endif
+@@ -309,7 +309,7 @@
+ ifneq ($(shell uname -m), armv4l)
+ ifneq ($(shell uname -m), parisc)
+ ifneq ($(shell uname -m),s390)
+-GSM_OBJECTS+= $(SRC)/k6opt.o
++#GSM_OBJECTS+= $(SRC)/k6opt.o
+ endif
+ endif
+ endif
+--- asterisk-1.2.9.1/res/Makefile~asterisk
++++ asterisk-1.2.9.1/res/Makefile
+@@ -89,7 +89,7 @@
+ fi
+
+ res_crypto.so: res_crypto.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CRYPTO_LIBS)
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< $(LDFLAGS) ${CYGSOLIB} $(CRYPTO_LIBS)
+
+ clean:
+ rm -f *.so *.o .depend
+--- asterisk-1.2.9.1/channels/Makefile~asterisk
++++ asterisk-1.2.9.1/channels/Makefile
+@@ -73,7 +73,7 @@
+ SOLINK+=-lrt
+ endif
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/ixjuser.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/ixjuser.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/linux/ixjuser.h),)
+ CHANNEL_LIBS+=chan_phone.so
+ endif
+
+@@ -88,16 +88,16 @@
+
+ CFLAGS+=-Wno-missing-prototypes -Wno-missing-declarations
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/alsa/asoundlib.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/alsa/asoundlib.h),)
+ CHANNEL_LIBS+=chan_alsa.so
+ endif
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libpri.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libpri.so.1),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/lib/libpri.so.1),)
+ CFLAGS+=-DZAPATA_PRI
+ ZAPPRI=-lpri
+ endif
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libmfcr2.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libmfcr2.so.1),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/lib/libmfcr2.so.1),)
+ CFLAGS+=-DZAPATA_R2
+ ZAPR2=-lmfcr2
+ endif
+@@ -110,7 +110,7 @@
+ endif
+
+ ifndef WITHOUT_ZAPTEL
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/pkg/include/zaptel.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/linux/zaptel.h),)
+ ifeq (${OSARCH},NetBSD)
+ SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/pkg/lib
+ endif
+@@ -122,7 +122,7 @@
+ endif
+ endif # WITHOUT_ZAPTEL
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/vpbapi.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/vpbapi.h),)
+ CHANNEL_LIBS+=chan_vpb.so
+ CFLAGS+=-DLINUX
+ endif
+@@ -137,7 +137,7 @@
+
+ ZAPDIR=/usr/lib
+
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/nbs.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/nbs.h),)
+ CHANNEL_LIBS+=chan_nbs.so
+ endif
+
+@@ -158,7 +158,7 @@
+ rm -f busy.h ringtone.h gentone gentone-ulaw
+
+ %.so : %.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} ${LIBS}
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< $(LDFLAGS) ${CYGSOLIB} ${LIBS}
+
+ ifneq ($(wildcard .depend),)
+ include .depend
+@@ -215,7 +215,7 @@
+ chan_alsa.o: $(ALSA_SRC)
+
+ chan_alsa.so: chan_alsa.o
+- $(CC) $(SOLINK) -o $@ $< -lasound -lm -ldl
++ $(CC) $(SOLINK) -o $@ $< -lasound -lm -ldl $(LDFLAGS)
+
+ chan_nbs.so: chan_nbs.o
+ $(CC) $(SOLINK) -o $@ $< -lnbs
+--- asterisk-1.2.9.1/pbx/Makefile~asterisk
++++ asterisk-1.2.9.1/pbx/Makefile
+@@ -59,7 +59,7 @@
+ $(CC) $(SOLINK) -o $@ $(KDE_CONSOLE_OBJS) $(KDE_LIBS)
+
+ pbx_dundi.so: dundi-parser.o pbx_dundi.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o -lz ${CYGSOLIB}
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} pbx_dundi.o dundi-parser.o -lz ${CYGSOLIB} $(LDFLAGS)
+
+ %.moc : %.h
+ $(MOC) $< -o $@
+--- asterisk-1.2.9.1/formats/Makefile~asterisk
++++ asterisk-1.2.9.1/formats/Makefile
+@@ -25,7 +25,7 @@
+ #
+ # OGG/Vorbis format
+ #
+-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/vorbis/codec.h),)
++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/include/vorbis/codec.h),)
+ FORMAT_LIBS+=format_ogg_vorbis.so
+ endif
+
+@@ -57,7 +57,7 @@
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lm
+
+ format_ogg_vorbis.so : format_ogg_vorbis.o
+- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -logg -lvorbis -lvorbisenc -lm
++ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -logg -lvorbis -lvorbisenc -lm $(LDFLAGS)