aboutsummaryrefslogtreecommitdiffstats
path: root/package/ltq-ifxos
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-07 18:20:02 +0000
committerJohn Crispin <john@openwrt.org>2011-07-07 18:20:02 +0000
commit35309dbbc87bcacd9b58f0964f799191ce5ab1a3 (patch)
treec8191aa008b5a2b81768387f88ed9455efea0413 /package/ltq-ifxos
parent7aa12362b1dfa989b7e89268002edb6271ff02b6 (diff)
downloadupstream-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.tar.gz
upstream-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.tar.bz2
upstream-35309dbbc87bcacd9b58f0964f799191ce5ab1a3.zip
update ltq-ifxos to version 1.5.14
SVN-Revision: 27531
Diffstat (limited to 'package/ltq-ifxos')
-rw-r--r--package/ltq-ifxos/Makefile4
-rw-r--r--package/ltq-ifxos/patches/100-portability.patch26
-rw-r--r--package/ltq-ifxos/patches/110-fix-2.6.32-wakeup.patch12
-rw-r--r--package/ltq-ifxos/patches/120-fix_smp_lock.patch12
-rw-r--r--package/ltq-ifxos/patches/120-linaro.patch23
5 files changed, 14 insertions, 63 deletions
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 <linux/fs.h>
- #include <linux/wait.h>
- #include <linux/poll.h>
-+#include <linux/sched.h>
-
- #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 <linux/sched.h>
+ #include <linux/version.h>
+ #include <linux/completion.h>
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
+ #include <linux/smp_lock.h>
++#endif
+ #include <linux/signal.h>
+
+
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 <linux/sched.h>
- #include <linux/version.h>
- #include <linux/completion.h>
-+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
- #include <linux/smp_lock.h>
-+#endif
- #include <linux/signal.h>
-
-