summaryrefslogtreecommitdiff
path: root/package/ifx-vmmc/patches/001-portability.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-02-01 14:32:25 +0000
committerJohn Crispin <john@openwrt.org>2011-02-01 14:32:25 +0000
commitfd551c1fa7526aca631a07f0fd3134433c9fa5fe (patch)
tree1b6db352842d684f7cbd478a2dbc1724d09cdfe5 /package/ifx-vmmc/patches/001-portability.patch
parent79b3d8f69aa02e2dc80f04a1ac84e971a2a33f8b (diff)
downloadmtk-20170518-fd551c1fa7526aca631a07f0fd3134433c9fa5fe.zip
mtk-20170518-fd551c1fa7526aca631a07f0fd3134433c9fa5fe.tar.gz
mtk-20170518-fd551c1fa7526aca631a07f0fd3134433c9fa5fe.tar.bz2
* rename voice package * sync with lantiqs release * make it work on lantiq kernel
SVN-Revision: 25275
Diffstat (limited to 'package/ifx-vmmc/patches/001-portability.patch')
-rw-r--r--package/ifx-vmmc/patches/001-portability.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/ifx-vmmc/patches/001-portability.patch b/package/ifx-vmmc/patches/001-portability.patch
deleted file mode 100644
index 81869cd..0000000
--- a/package/ifx-vmmc/patches/001-portability.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -227,7 +227,7 @@ drv_vmmc_CFLAGS += -fno-common
- drv_vmmc_OBJS = "$(subst .c,.o, $(drv_vmmc_SOURCES) $(nodist_drv_vmmc_SOURCES))"
-
- drv_vmmc.ko: $(drv_vmmc_SOURCES) $(EXTRA_DIST)
-- @echo -e "Making Linux 2.6.x kernel object"
-+ @echo "Making Linux 2.6.x kernel object"
- @for f in $(drv_vmmc_SOURCES) $(nodist_drv_vmmc_SOURCES) ; do \
- if test ! -e $(PWD)/$$f; then \
- echo " LN $$f" ; \
-@@ -235,10 +235,10 @@ drv_vmmc.ko: $(drv_vmmc_SOURCES) $(EXTRA
- ln -s @abs_srcdir@/$$f $(PWD)/$$f; \
- fi; \
- done;
-- @echo -e "# drv_vmmc: 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_vmmc_OBJS)" >> $(PWD)/Kbuild
-- @echo -e "EXTRA_CFLAGS := -DHAVE_CONFIG_H $(CFLAGS) $(drv_vmmc_CFLAGS) $(INCLUDES)" >> $(PWD)/Kbuild
-+ @echo "# drv_vmmc: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild
-+ @echo "obj-m := $(subst .ko,.o,$@)" >> $(PWD)/Kbuild
-+ @echo "$(subst .ko,,$@)-y := $(drv_vmmc_OBJS)" >> $(PWD)/Kbuild
-+ @echo "EXTRA_CFLAGS := -DHAVE_CONFIG_H $(CFLAGS) $(drv_vmmc_CFLAGS) $(INCLUDES)" >> $(PWD)/Kbuild
- $(MAKE) ARCH=@KERNEL_ARCH@ -C @KERNEL_BUILD_PATH@ O=@KERNEL_BUILD_PATH@ M=$(PWD) modules
-
- clean-generic:
---- a/src/drv_vmmc_linux.c
-+++ b/src/drv_vmmc_linux.c
-@@ -27,6 +27,7 @@
- #include <linux/proc_fs.h>
- #include <linux/wait.h>
- #include <linux/vmalloc.h>
-+#include <linux/sched.h>
-
- #ifdef LINUX_2_6
- #include <linux/version.h>