source: trunk/package/ifx-tapi/patches/001-portability.patch @ 20637

Last change on this file since 20637 was 20637, checked in by blogic, 6 years ago

[ifxmips] adds voip support

File size: 1.2 KB
  • src/Makefile.am

    a b if KERNEL_2_6 
    149149drv_tapi_OBJS = "$(subst .c,.o, $(drv_tapi_SOURCES))" 
    150150 
    151151drv_tapi.ko: $(drv_tapi_SOURCES) $(EXTRA_DIST) 
    152         @echo -e "Making Linux 2.6.x kernel object" 
     152        @echo "Making Linux 2.6.x kernel object" 
    153153        @for f in $(drv_tapi_SOURCES) ; do \ 
    154154                if test ! -e $(PWD)/$$f; then \ 
    155155                        echo "  LN      $$f" ; \ 
    drv_tapi.ko: $(drv_tapi_SOURCES) $(EXTRA 
    157157                        ln -s @abs_srcdir@/$$f $(PWD)/$$f; \ 
    158158                fi; \ 
    159159        done; 
    160         @echo -e "# drv_tapi: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild 
    161         @echo -e "obj-m := $(subst .ko,.o,$@)"                  >> $(PWD)/Kbuild 
    162         @echo -e "$(subst .ko,,$@)-y := $(drv_tapi_OBJS)"       >> $(PWD)/Kbuild 
    163         @echo -e "EXTRA_CFLAGS := -DHAVE_CONFIG_H  $(CFLAGS) $(drv_tapi_CFLAGS) $(INCLUDES)"    >> $(PWD)/Kbuild 
     160        @echo "# drv_tapi: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild 
     161        @echo "obj-m := $(subst .ko,.o,$@)"                     >> $(PWD)/Kbuild 
     162        @echo "$(subst .ko,,$@)-y := $(drv_tapi_OBJS)"  >> $(PWD)/Kbuild 
     163        @echo "EXTRA_CFLAGS := -DHAVE_CONFIG_H  $(CFLAGS) $(drv_tapi_CFLAGS) $(INCLUDES)"       >> $(PWD)/Kbuild 
    164164        $(MAKE) ARCH=@KERNEL_ARCH@ -C @KERNEL_BUILD_PATH@ O=@KERNEL_BUILD_PATH@ M=$(PWD) modules 
    165165 
    166166clean-generic: 
Note: See TracBrowser for help on using the repository browser.