From c2738a9559f434db5d28282051741e24298344af Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 15 Dec 2012 02:00:26 +0000 Subject: [PATCH] move ltq-ifxos SVN-Revision: 34692 --- package/ltq-ifxos/patches/120-fix_smp_lock.patch | 12 ------------ package/{ => platform/lantiq}/ltq-ifxos/Makefile | 8 ++++---- .../lantiq/ltq-ifxos/patches/100-compat.patch} | 10 ++++++++++ 3 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 package/ltq-ifxos/patches/120-fix_smp_lock.patch rename package/{ => platform/lantiq}/ltq-ifxos/Makefile (92%) rename package/{ltq-ifxos/patches/100-portability.patch => platform/lantiq/ltq-ifxos/patches/100-compat.patch} (67%) 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 aea4305a90..0000000000 --- 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 - #include - #include -+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) - #include -+#endif - #include - - diff --git a/package/ltq-ifxos/Makefile b/package/platform/lantiq/ltq-ifxos/Makefile similarity index 92% rename from package/ltq-ifxos/Makefile rename to package/platform/lantiq/ltq-ifxos/Makefile index eeca2010a0..1364849bc6 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 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 similarity index 67% rename from package/ltq-ifxos/patches/100-portability.patch rename to package/platform/lantiq/ltq-ifxos/patches/100-compat.patch index d1ce7503a2..02f2da728e 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 + #include + #include +-#include + #include + + -- 2.25.1