summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:00:26 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-15 02:00:26 +0000
commitcec4e04bcce665983ac35bd016b4cc585e98000c (patch)
tree7f0a13996e57c550616a726f2df220f43cf9c79e /package
parent6732edcca73cd5ebf1f780c77b963efb5dc13731 (diff)
[lantiq] move ltq-ifxos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34692 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/ltq-ifxos/patches/120-fix_smp_lock.patch12
-rw-r--r--package/platform/lantiq/ltq-ifxos/Makefile (renamed from package/ltq-ifxos/Makefile)8
-rw-r--r--package/platform/lantiq/ltq-ifxos/patches/100-compat.patch (renamed from package/ltq-ifxos/patches/100-portability.patch)10
3 files changed, 14 insertions, 16 deletions
diff --git a/package/ltq-ifxos/patches/120-fix_smp_lock.patch b/package/ltq-ifxos/patches/120-fix_smp_lock.patch
deleted file mode 100644
index aea4305a9..000000000
--- a/package/ltq-ifxos/patches/120-fix_smp_lock.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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/Makefile b/package/platform/lantiq/ltq-ifxos/Makefile
index eeca2010a..1364849bc 100644
--- a/package/ltq-ifxos/Makefile
+++ b/package/platform/lantiq/ltq-ifxos/Makefile
@@ -1,9 +1,7 @@
-#
-# Copyright (C) 2009-2010 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
-#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
@@ -19,7 +17,9 @@ PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>
include $(INCLUDE_DIR)/package.mk
define KernelPackage/ltq-ifxos
- SUBMENU:=Voice over IP
+ SECTION:=sys
+ CATEGORY:=Kernel modules
+ SUBMENU:=Libraries
TITLE:=Lantiq OS abstraction library
URL:=http://www.lantiq.com/
DEPENDS:=@TARGET_lantiq
diff --git a/package/ltq-ifxos/patches/100-portability.patch b/package/platform/lantiq/ltq-ifxos/patches/100-compat.patch
index d1ce7503a..02f2da728 100644
--- a/package/ltq-ifxos/patches/100-portability.patch
+++ b/package/platform/lantiq/ltq-ifxos/patches/100-compat.patch
@@ -9,3 +9,13 @@
AC_SUBST([KERNEL_BUILD_PATH],[$enableval])
else
AC_MSG_ERROR([The kernel build directory is not valid or not configured!])
+--- a/src/linux/ifxos_linux_thread_drv.c
++++ b/src/linux/ifxos_linux_thread_drv.c
+@@ -34,7 +34,6 @@
+ #include <linux/sched.h>
+ #include <linux/version.h>
+ #include <linux/completion.h>
+-#include <linux/smp_lock.h>
+ #include <linux/signal.h>
+
+