From 35309dbbc87bcacd9b58f0964f799191ce5ab1a3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 7 Jul 2011 18:20:02 +0000 Subject: [PATCH] update ltq-ifxos to version 1.5.14 SVN-Revision: 27531 --- package/ltq-ifxos/Makefile | 4 +-- .../ltq-ifxos/patches/100-portability.patch | 26 ------------------- .../patches/110-fix-2.6.32-wakeup.patch | 12 --------- .../ltq-ifxos/patches/120-fix_smp_lock.patch | 12 +++++++++ package/ltq-ifxos/patches/120-linaro.patch | 23 ---------------- 5 files changed, 14 insertions(+), 63 deletions(-) delete mode 100644 package/ltq-ifxos/patches/110-fix-2.6.32-wakeup.patch create mode 100644 package/ltq-ifxos/patches/120-fix_smp_lock.patch delete mode 100644 package/ltq-ifxos/patches/120-linaro.patch diff --git a/package/ltq-ifxos/Makefile b/package/ltq-ifxos/Makefile index c947404b99..2dd26740fb 100644 --- a/package/ltq-ifxos/Makefile +++ b/package/ltq-ifxos/Makefile @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=lib_ifxos -PKG_VERSION:=1.5.12 +PKG_VERSION:=1.5.14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources PKG_MD5SUM:=ba775356bdd5e1b73b3e11a152710ed6 diff --git a/package/ltq-ifxos/patches/100-portability.patch b/package/ltq-ifxos/patches/100-portability.patch index 1316888d65..d1ce7503a2 100644 --- a/package/ltq-ifxos/patches/100-portability.patch +++ b/package/ltq-ifxos/patches/100-portability.patch @@ -1,29 +1,3 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -639,7 +639,7 @@ if KERNEL_2_6 - drv_ifxos_OBJS = "$(subst .c,.o,$(filter %.c,$(drv_ifxos_SOURCES)))" - - drv_ifxos.ko: $(drv_ifxos_SOURCES) -- @echo -e "drv_ifxos: Making Linux 2.6.x kernel object" -+ @echo "drv_ifxos: Making Linux 2.6.x kernel object" - if test ! -e common/ifxos_debug.c ; then \ - echo "copy source files (as links only!)"; \ - for f in $(filter %.c,$(drv_ifxos_SOURCES)); do \ -@@ -647,10 +647,10 @@ drv_ifxos.ko: $(drv_ifxos_SOURCES) - cp -s $(addprefix @abs_srcdir@/,$$f) $(PWD)/`dirname $$f`/ ; \ - done \ - fi -- @echo -e "# drv_ifxos: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild -- @echo -e "obj-m := $(subst .ko,.o,$@)" >> $(PWD)/Kbuild -- @echo -e "$(subst .ko,,$@)-y := $(drv_ifxos_OBJS)" >> $(PWD)/Kbuild -- @echo -e "EXTRA_CFLAGS := $(CFLAGS) -DHAVE_CONFIG_H $(drv_ifxos_CFLAGS) $(DSL_DRIVER_INCL_PATH) -I@abs_srcdir@/include -I$(PWD)/include" >> $(PWD)/Kbuild -+ @echo "# drv_ifxos: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild -+ @echo "obj-m := $(subst .ko,.o,$@)" >> $(PWD)/Kbuild -+ @echo "$(subst .ko,,$@)-y := $(drv_ifxos_OBJS)" >> $(PWD)/Kbuild -+ @echo "EXTRA_CFLAGS := $(CFLAGS) -DHAVE_CONFIG_H $(drv_ifxos_CFLAGS) $(DSL_DRIVER_INCL_PATH) -I@abs_srcdir@/include -I$(PWD)/include" >> $(PWD)/Kbuild - $(MAKE) ARCH=@KERNEL_ARCH@ -C @KERNEL_BUILD_PATH@ O=@KERNEL_BUILD_PATH@ M=$(PWD) modules - - clean-generic: --- a/configure.in +++ b/configure.in @@ -64,7 +64,7 @@ dnl Set kernel build path diff --git a/package/ltq-ifxos/patches/110-fix-2.6.32-wakeup.patch b/package/ltq-ifxos/patches/110-fix-2.6.32-wakeup.patch deleted file mode 100644 index da0bbd3234..0000000000 --- a/package/ltq-ifxos/patches/110-fix-2.6.32-wakeup.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: lib_ifxos-1.5.12/src/linux/ifxos_linux_select_drv.c -=================================================================== ---- lib_ifxos-1.5.12.orig/src/linux/ifxos_linux_select_drv.c 2010-04-24 11:33:55.000000000 +0200 -+++ lib_ifxos-1.5.12/src/linux/ifxos_linux_select_drv.c 2010-04-24 11:34:21.000000000 +0200 -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - - #include "ifx_types.h" - #include "ifxos_rt_if_check.h" diff --git a/package/ltq-ifxos/patches/120-fix_smp_lock.patch b/package/ltq-ifxos/patches/120-fix_smp_lock.patch new file mode 100644 index 0000000000..aea4305a90 --- /dev/null +++ b/package/ltq-ifxos/patches/120-fix_smp_lock.patch @@ -0,0 +1,12 @@ +--- a/src/linux/ifxos_linux_thread_drv.c ++++ b/src/linux/ifxos_linux_thread_drv.c +@@ -34,7 +34,9 @@ + #include + #include + #include ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) + #include ++#endif + #include + + diff --git a/package/ltq-ifxos/patches/120-linaro.patch b/package/ltq-ifxos/patches/120-linaro.patch deleted file mode 100644 index 0ad5a95cb9..0000000000 --- a/package/ltq-ifxos/patches/120-linaro.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/src/include/linux/ifxos_linux_common.h -+++ b/src/include/linux/ifxos_linux_common.h -@@ -73,7 +73,7 @@ - # define __BYTE_ORDER __BIG_ENDIAN - /** set the common IFXOS byte order for BIG endian */ - # define IFXOS_BYTE_ORDER IFXOS_BIG_ENDIAN --#elif -+#else - # error "missing endian definiton" - #endif - ---- a/src/linux/ifxos_linux_thread_drv.c -+++ b/src/linux/ifxos_linux_thread_drv.c -@@ -34,7 +34,9 @@ - #include - #include - #include -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) - #include -+#endif - #include - - -- 2.30.2