Root/package/ifxos/patches/100-portability.patch

1Index: lib_ifxos-1.5.12/src/Makefile.am
2===================================================================
3--- lib_ifxos-1.5.12.orig/src/Makefile.am 2010-01-08 18:12:15.000000000 +0100
4+++ lib_ifxos-1.5.12/src/Makefile.am 2010-03-31 18:56:12.000000000 +0200
5@@ -639,7 +639,7 @@
6 drv_ifxos_OBJS = "$(subst .c,.o,$(filter %.c,$(drv_ifxos_SOURCES)))"
7 
8 drv_ifxos.ko: $(drv_ifxos_SOURCES)
9- @echo -e "drv_ifxos: Making Linux 2.6.x kernel object"
10+ @echo "drv_ifxos: Making Linux 2.6.x kernel object"
11     if test ! -e common/ifxos_debug.c ; then \
12         echo "copy source files (as links only!)"; \
13         for f in $(filter %.c,$(drv_ifxos_SOURCES)); do \
14@@ -647,10 +647,10 @@
15             cp -s $(addprefix @abs_srcdir@/,$$f) $(PWD)/`dirname $$f`/ ; \
16         done \
17     fi
18- @echo -e "# drv_ifxos: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild
19- @echo -e "obj-m := $(subst .ko,.o,$@)" >> $(PWD)/Kbuild
20- @echo -e "$(subst .ko,,$@)-y := $(drv_ifxos_OBJS)" >> $(PWD)/Kbuild
21- @echo -e "EXTRA_CFLAGS := $(CFLAGS) -DHAVE_CONFIG_H $(drv_ifxos_CFLAGS) $(DSL_DRIVER_INCL_PATH) -I@abs_srcdir@/include -I$(PWD)/include" >> $(PWD)/Kbuild
22+ @echo "# drv_ifxos: Generated to build Linux 2.6.x kernel object" > $(PWD)/Kbuild
23+ @echo "obj-m := $(subst .ko,.o,$@)" >> $(PWD)/Kbuild
24+ @echo "$(subst .ko,,$@)-y := $(drv_ifxos_OBJS)" >> $(PWD)/Kbuild
25+ @echo "EXTRA_CFLAGS := $(CFLAGS) -DHAVE_CONFIG_H $(drv_ifxos_CFLAGS) $(DSL_DRIVER_INCL_PATH) -I@abs_srcdir@/include -I$(PWD)/include" >> $(PWD)/Kbuild
26     $(MAKE) ARCH=@KERNEL_ARCH@ -C @KERNEL_BUILD_PATH@ O=@KERNEL_BUILD_PATH@ M=$(PWD) modules
27 
28 clean-generic:
29

Archive Download this file



interactive