diff options
author | John Crispin <john@openwrt.org> | 2010-03-31 11:12:33 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2010-03-31 11:12:33 +0000 |
commit | 00cb9df7b817384bb9751fe6acaab29f0dd6a404 (patch) | |
tree | 0c5eb147d7008381779269b1a020d188d26c6c12 /package/ifx-vmmc/patches/001-portability.patch | |
parent | 6bfe50b36490ded3f09d7c9841850cbf8c8869f3 (diff) | |
download | upstream-00cb9df7b817384bb9751fe6acaab29f0dd6a404.tar.gz upstream-00cb9df7b817384bb9751fe6acaab29f0dd6a404.tar.bz2 upstream-00cb9df7b817384bb9751fe6acaab29f0dd6a404.zip |
adds voip support
SVN-Revision: 20637
Diffstat (limited to 'package/ifx-vmmc/patches/001-portability.patch')
-rw-r--r-- | package/ifx-vmmc/patches/001-portability.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/ifx-vmmc/patches/001-portability.patch b/package/ifx-vmmc/patches/001-portability.patch new file mode 100644 index 0000000000..fb8ab68ed4 --- /dev/null +++ b/package/ifx-vmmc/patches/001-portability.patch @@ -0,0 +1,26 @@ +--- 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: |