Re: [PATCH 1/3] Remove unused dependency
On Sun, Dec 30, 2007 at 04:16:10PM -0800, Joe Perches wrote: > On Sun, 2007-12-30 at 23:00 +0100, Sam Ravnborg wrote: > > Can you please remind me what problem you are actually trying to solve here. > > Your current approach it not good - we do not want .c code in include/* > > And what is wrong with the current include path? > > It's not a bit deal. > > inflate.c is #include'd with different depth "../" prefixes. > Currently, depths 1, 3, 4 and 5 are used. > The relative path is the depending on the file that includes inflate.c. The include uses '../../../...' to get to the root of the kernel src tree and then fetching the file in lib/. > It seemed neater to take this inflate.c file, which can not > be stand-alone compiled, and move it to somewhere on the > include path so that it may be included via #include > > I was originally trying to make each file in a directory via > > for file in $(ls lib/*.c) ; do file=${file%.c}.o ; make $file ; done Use: make lib/ Then you will build the right stuff - your approach is just broken. What we should fix is the wrong dependencies in the various Makefiles. But that require the relevant toolchains to test it and I lost them when I recently upgraded my devel box (crosstool is my friend...). Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sun, Dec 30, 2007 at 04:16:10PM -0800, Joe Perches wrote: On Sun, 2007-12-30 at 23:00 +0100, Sam Ravnborg wrote: Can you please remind me what problem you are actually trying to solve here. Your current approach it not good - we do not want .c code in include/* And what is wrong with the current include path? It's not a bit deal. inflate.c is #include'd with different depth ../ prefixes. Currently, depths 1, 3, 4 and 5 are used. The relative path is the depending on the file that includes inflate.c. The include uses '../../../...' to get to the root of the kernel src tree and then fetching the file in lib/. It seemed neater to take this inflate.c file, which can not be stand-alone compiled, and move it to somewhere on the include path so that it may be included via #include inflate.c I was originally trying to make each file in a directory via for file in $(ls lib/*.c) ; do file=${file%.c}.o ; make $file ; done Use: make lib/ Then you will build the right stuff - your approach is just broken. What we should fix is the wrong dependencies in the various Makefiles. But that require the relevant toolchains to test it and I lost them when I recently upgraded my devel box (crosstool is my friend...). Sam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sun, 2007-12-30 at 23:00 +0100, Sam Ravnborg wrote: > Can you please remind me what problem you are actually trying to solve here. > Your current approach it not good - we do not want .c code in include/* > And what is wrong with the current include path? It's not a bit deal. inflate.c is #include'd with different depth "../" prefixes. Currently, depths 1, 3, 4 and 5 are used. It seemed neater to take this inflate.c file, which can not be stand-alone compiled, and move it to somewhere on the include path so that it may be included via #include I was originally trying to make each file in a directory via for file in $(ls lib/*.c) ; do file=${file%.c}.o ; make $file ; done and I noticed that inflate.o wasn't made. cheers, Joe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, Dec 22, 2007 at 11:28:11AM -0800, Joe Perches wrote: > On Sat, 2007-12-22 at 15:31 +0100, Sam Ravnborg wrote: > > I looked at how inflate was used: > > > > $ grep inflate */boot/Makefile > > alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c > > => redundandt dependency, can be deleted > > A cleanup of all this is needed. > > Perhaps it's better to move lib/inflate.c to the > include path (include/lib ?) and convert the files that > #include "(../)*lib/inflate.c" to > #include ? Hi Joe. Can you please remind me what problem you are actually trying to solve here. Your current approach it not good - we do not want .c code in include/* And what is wrong with the current include path? Thanks, Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, Dec 22, 2007 at 11:28:11AM -0800, Joe Perches wrote: On Sat, 2007-12-22 at 15:31 +0100, Sam Ravnborg wrote: I looked at how inflate was used: $ grep inflate */boot/Makefile alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c = redundandt dependency, can be deleted A cleanup of all this is needed. Perhaps it's better to move lib/inflate.c to the include path (include/lib ?) and convert the files that #include (../)*lib/inflate.c to #include lib/inflate.c? Hi Joe. Can you please remind me what problem you are actually trying to solve here. Your current approach it not good - we do not want .c code in include/* And what is wrong with the current include path? Thanks, Sam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sun, 2007-12-30 at 23:00 +0100, Sam Ravnborg wrote: Can you please remind me what problem you are actually trying to solve here. Your current approach it not good - we do not want .c code in include/* And what is wrong with the current include path? It's not a bit deal. inflate.c is #include'd with different depth ../ prefixes. Currently, depths 1, 3, 4 and 5 are used. It seemed neater to take this inflate.c file, which can not be stand-alone compiled, and move it to somewhere on the include path so that it may be included via #include inflate.c I was originally trying to make each file in a directory via for file in $(ls lib/*.c) ; do file=${file%.c}.o ; make $file ; done and I noticed that inflate.o wasn't made. cheers, Joe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, 2007-12-22 at 15:31 +0100, Sam Ravnborg wrote: > I looked at how inflate was used: > > $ grep inflate */boot/Makefile > alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c > => redundandt dependency, can be deleted > A cleanup of all this is needed. Perhaps it's better to move lib/inflate.c to the include path (include/lib ?) and convert the files that #include "(../)*lib/inflate.c" to #include ? arch/alpha/boot/Makefile |2 -- arch/alpha/boot/misc.c|2 +- arch/arm/boot/compressed/Makefile |2 +- arch/arm/boot/compressed/misc.c |2 +- arch/cris/arch-v10/boot/compressed/misc.c |2 +- arch/cris/arch-v32/boot/compressed/misc.c |2 +- arch/h8300/boot/compressed/misc.c |2 +- arch/m32r/boot/compressed/misc.c |2 +- arch/sh/boot/compressed/misc.c|2 +- arch/sh64/boot/compressed/misc.c |2 +- arch/x86/boot/compressed/misc_32.c|2 +- arch/x86/boot/compressed/misc_64.c|2 +- {lib => include/lib}/inflate.c|0 init/do_mounts_rd.c |2 +- init/initramfs.c |2 +- 15 files changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile index cd14388..c53169c 100644 --- a/arch/alpha/boot/Makefile +++ b/arch/alpha/boot/Makefile @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) $(LIBS_Y) FORCE $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE $(call if_changed,ld) - -$(obj)/misc.o: lib/inflate.c diff --git a/arch/alpha/boot/misc.c b/arch/alpha/boot/misc.c index c00646b..c132505 100644 --- a/arch/alpha/boot/misc.c +++ b/arch/alpha/boot/misc.c @@ -100,7 +100,7 @@ static ulg free_mem_ptr_end; #define HEAP_SIZE 0x3000 -#include "../../../lib/inflate.c" +#include static void *malloc(int size) { diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 5fde99f..563cfc2 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -111,5 +111,5 @@ $(obj)/font.c: $(FONTC) $(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config @sed "$(SEDFLAGS)" < $< > $@ -$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h lib/inflate.c +$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c index 9b44402..7c3850d 100644 --- a/arch/arm/boot/compressed/misc.c +++ b/arch/arm/boot/compressed/misc.c @@ -241,7 +241,7 @@ static ulg free_mem_ptr_end; #define HEAP_SIZE 0x3000 -#include "../../../../lib/inflate.c" +#include #ifndef STANDALONE_DEBUG static void *malloc(int size) diff --git a/arch/cris/arch-v10/boot/compressed/misc.c b/arch/cris/arch-v10/boot/compressed/misc.c index e205d2e..3298a66 100644 --- a/arch/cris/arch-v10/boot/compressed/misc.c +++ b/arch/cris/arch-v10/boot/compressed/misc.c @@ -108,7 +108,7 @@ static void puts(const char *); extern int end; static long free_mem_ptr = (long) -#include "../../../../../lib/inflate.c" +#include static void *malloc(int size) { diff --git a/arch/cris/arch-v32/boot/compressed/misc.c b/arch/cris/arch-v32/boot/compressed/misc.c index 0169ba1..dc5a119 100644 --- a/arch/cris/arch-v32/boot/compressed/misc.c +++ b/arch/cris/arch-v32/boot/compressed/misc.c @@ -110,7 +110,7 @@ static void puts(const char *); extern int _end; static long free_mem_ptr = (long)&_end; -#include "../../../../../lib/inflate.c" +#include static void *malloc(int size) { diff --git a/arch/h8300/boot/compressed/misc.c b/arch/h8300/boot/compressed/misc.c index 8450745..863d794 100644 --- a/arch/h8300/boot/compressed/misc.c +++ b/arch/h8300/boot/compressed/misc.c @@ -92,7 +92,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include "../../../../lib/inflate.c" +#include #define SCR *((volatile unsigned char *)0x8a) #define TDR *((volatile unsigned char *)0x8b) diff --git a/arch/m32r/boot/compressed/misc.c b/arch/m32r/boot/compressed/misc.c index 600d40e..dac3a0b 100644 --- a/arch/m32r/boot/compressed/misc.c +++ b/arch/m32r/boot/compressed/misc.c @@ -90,7 +90,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include "../../../../lib/inflate.c" +#include static void *malloc(int size) { diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index df65e30..a00dd7e 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c @@ -99,7 +99,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include "../../../../lib/inflate.c" +#include static void *malloc(int size) { diff --git a/arch/sh64/boot/compressed/misc.c b/arch/sh64/boot/compressed/misc.c index aea00c5..3b151f4 100644 ---
Re: [PATCH 1/3] Remove unused dependency
On Sat, Dec 22, 2007 at 12:50:12AM -0800, Joe Perches wrote: > On Sat, 2007-12-22 at 09:33 +0100, Sam Ravnborg wrote: > > arch/alpha/boot/mixc.c have: > > #include "../../../lib/inflate.c" > > Right. thanks. Sorry for the noise. It was the removal of the file I objected against - not thremoval of the dependency. kbuild will find the dpendency as expressed in the Makefile all by itself. > > Should the makefiles for the sources that include lib/inflate.c > have a dependency similar to arm and alpha? > > With: > arch/alpha/boot/misc.c > arch/arm/boot/compressed/misc.c > > Without: > arch/cris/arch-v10/boot/compressed/misc.c > arch/cris/arch-v32/boot/compressed/misc.c > arch/h8300/boot/compressed/misc.c > arch/m32r/boot/compressed/misc.c > arch/sh/boot/compressed/misc.c > arch/sh64/boot/compressed/misc.c > arch/x86/boot/compressed/misc_32.c > arch/x86/boot/compressed/misc_64.c > init/do_mounts_rd.c > init/initramfs.c > I looked at how inflate was used: $ grep inflate */boot/Makefile alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c => redundandt dependency, can be deleted powerpc/boot/Makefile:zlib := inffast.c inflate.c inftrees.c powerpc/boot/Makefile:zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h powerpc/boot/Makefile:$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/% powerpc/boot/Makefile:$(addprefix $(obj)/,$(zlibheader)): $(obj)/%: $(srctree)/lib/zlib_inflate/% => I could not see why powerpc had to do so much special magic to get a working zlib - other archs has less troubles... Did not llok at all archs but some other had funny stuff to use inflate and friends too. A cleanup of all this is needed. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, 2007-12-22 at 09:33 +0100, Sam Ravnborg wrote: > arch/alpha/boot/mixc.c have: > #include "../../../lib/inflate.c" Right. thanks. Sorry for the noise. Should the makefiles for the sources that include lib/inflate.c have a dependency similar to arm and alpha? With: arch/alpha/boot/misc.c arch/arm/boot/compressed/misc.c Without: arch/cris/arch-v10/boot/compressed/misc.c arch/cris/arch-v32/boot/compressed/misc.c arch/h8300/boot/compressed/misc.c arch/m32r/boot/compressed/misc.c arch/sh/boot/compressed/misc.c arch/sh64/boot/compressed/misc.c arch/x86/boot/compressed/misc_32.c arch/x86/boot/compressed/misc_64.c init/do_mounts_rd.c init/initramfs.c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Fri, Dec 21, 2007 at 11:02:09PM -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > --- > arch/alpha/boot/Makefile |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile > index cd14388..c53169c 100644 > --- a/arch/alpha/boot/Makefile > +++ b/arch/alpha/boot/Makefile > @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) > $(LIBS_Y) FORCE > > $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE > $(call if_changed,ld) > - > -$(obj)/misc.o: lib/inflate.c But arch/alpha/boot/mixc.c have: #include "../../../lib/inflate.c" So this is wrong. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Fri, Dec 21, 2007 at 11:02:09PM -0800, Joe Perches wrote: Signed-off-by: Joe Perches [EMAIL PROTECTED] --- arch/alpha/boot/Makefile |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile index cd14388..c53169c 100644 --- a/arch/alpha/boot/Makefile +++ b/arch/alpha/boot/Makefile @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) $(LIBS_Y) FORCE $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE $(call if_changed,ld) - -$(obj)/misc.o: lib/inflate.c But arch/alpha/boot/mixc.c have: #include ../../../lib/inflate.c So this is wrong. Sam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, 2007-12-22 at 09:33 +0100, Sam Ravnborg wrote: arch/alpha/boot/mixc.c have: #include ../../../lib/inflate.c Right. thanks. Sorry for the noise. Should the makefiles for the sources that include lib/inflate.c have a dependency similar to arm and alpha? With: arch/alpha/boot/misc.c arch/arm/boot/compressed/misc.c Without: arch/cris/arch-v10/boot/compressed/misc.c arch/cris/arch-v32/boot/compressed/misc.c arch/h8300/boot/compressed/misc.c arch/m32r/boot/compressed/misc.c arch/sh/boot/compressed/misc.c arch/sh64/boot/compressed/misc.c arch/x86/boot/compressed/misc_32.c arch/x86/boot/compressed/misc_64.c init/do_mounts_rd.c init/initramfs.c -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, Dec 22, 2007 at 12:50:12AM -0800, Joe Perches wrote: On Sat, 2007-12-22 at 09:33 +0100, Sam Ravnborg wrote: arch/alpha/boot/mixc.c have: #include ../../../lib/inflate.c Right. thanks. Sorry for the noise. It was the removal of the file I objected against - not thremoval of the dependency. kbuild will find the dpendency as expressed in the Makefile all by itself. Should the makefiles for the sources that include lib/inflate.c have a dependency similar to arm and alpha? With: arch/alpha/boot/misc.c arch/arm/boot/compressed/misc.c Without: arch/cris/arch-v10/boot/compressed/misc.c arch/cris/arch-v32/boot/compressed/misc.c arch/h8300/boot/compressed/misc.c arch/m32r/boot/compressed/misc.c arch/sh/boot/compressed/misc.c arch/sh64/boot/compressed/misc.c arch/x86/boot/compressed/misc_32.c arch/x86/boot/compressed/misc_64.c init/do_mounts_rd.c init/initramfs.c I looked at how inflate was used: $ grep inflate */boot/Makefile alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c = redundandt dependency, can be deleted powerpc/boot/Makefile:zlib := inffast.c inflate.c inftrees.c powerpc/boot/Makefile:zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h powerpc/boot/Makefile:$(addprefix $(obj)/,$(zlib)): $(obj)/%: $(srctree)/lib/zlib_inflate/% powerpc/boot/Makefile:$(addprefix $(obj)/,$(zlibheader)): $(obj)/%: $(srctree)/lib/zlib_inflate/% = I could not see why powerpc had to do so much special magic to get a working zlib - other archs has less troubles... Did not llok at all archs but some other had funny stuff to use inflate and friends too. A cleanup of all this is needed. Sam -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/3] Remove unused dependency
On Sat, 2007-12-22 at 15:31 +0100, Sam Ravnborg wrote: I looked at how inflate was used: $ grep inflate */boot/Makefile alpha/boot/Makefile:$(obj)/misc.o: lib/inflate.c = redundandt dependency, can be deleted A cleanup of all this is needed. Perhaps it's better to move lib/inflate.c to the include path (include/lib ?) and convert the files that #include (../)*lib/inflate.c to #include lib/inflate.c? arch/alpha/boot/Makefile |2 -- arch/alpha/boot/misc.c|2 +- arch/arm/boot/compressed/Makefile |2 +- arch/arm/boot/compressed/misc.c |2 +- arch/cris/arch-v10/boot/compressed/misc.c |2 +- arch/cris/arch-v32/boot/compressed/misc.c |2 +- arch/h8300/boot/compressed/misc.c |2 +- arch/m32r/boot/compressed/misc.c |2 +- arch/sh/boot/compressed/misc.c|2 +- arch/sh64/boot/compressed/misc.c |2 +- arch/x86/boot/compressed/misc_32.c|2 +- arch/x86/boot/compressed/misc_64.c|2 +- {lib = include/lib}/inflate.c|0 init/do_mounts_rd.c |2 +- init/initramfs.c |2 +- 15 files changed, 13 insertions(+), 15 deletions(-) diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile index cd14388..c53169c 100644 --- a/arch/alpha/boot/Makefile +++ b/arch/alpha/boot/Makefile @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) $(LIBS_Y) FORCE $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE $(call if_changed,ld) - -$(obj)/misc.o: lib/inflate.c diff --git a/arch/alpha/boot/misc.c b/arch/alpha/boot/misc.c index c00646b..c132505 100644 --- a/arch/alpha/boot/misc.c +++ b/arch/alpha/boot/misc.c @@ -100,7 +100,7 @@ static ulg free_mem_ptr_end; #define HEAP_SIZE 0x3000 -#include ../../../lib/inflate.c +#include lib/inflate.c static void *malloc(int size) { diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 5fde99f..563cfc2 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -111,5 +111,5 @@ $(obj)/font.c: $(FONTC) $(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config @sed $(SEDFLAGS) $ $@ -$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h lib/inflate.c +$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c index 9b44402..7c3850d 100644 --- a/arch/arm/boot/compressed/misc.c +++ b/arch/arm/boot/compressed/misc.c @@ -241,7 +241,7 @@ static ulg free_mem_ptr_end; #define HEAP_SIZE 0x3000 -#include ../../../../lib/inflate.c +#include lib/inflate.c #ifndef STANDALONE_DEBUG static void *malloc(int size) diff --git a/arch/cris/arch-v10/boot/compressed/misc.c b/arch/cris/arch-v10/boot/compressed/misc.c index e205d2e..3298a66 100644 --- a/arch/cris/arch-v10/boot/compressed/misc.c +++ b/arch/cris/arch-v10/boot/compressed/misc.c @@ -108,7 +108,7 @@ static void puts(const char *); extern int end; static long free_mem_ptr = (long)end; -#include ../../../../../lib/inflate.c +#include lib/inflate.c static void *malloc(int size) { diff --git a/arch/cris/arch-v32/boot/compressed/misc.c b/arch/cris/arch-v32/boot/compressed/misc.c index 0169ba1..dc5a119 100644 --- a/arch/cris/arch-v32/boot/compressed/misc.c +++ b/arch/cris/arch-v32/boot/compressed/misc.c @@ -110,7 +110,7 @@ static void puts(const char *); extern int _end; static long free_mem_ptr = (long)_end; -#include ../../../../../lib/inflate.c +#include lib/inflate.c static void *malloc(int size) { diff --git a/arch/h8300/boot/compressed/misc.c b/arch/h8300/boot/compressed/misc.c index 8450745..863d794 100644 --- a/arch/h8300/boot/compressed/misc.c +++ b/arch/h8300/boot/compressed/misc.c @@ -92,7 +92,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include ../../../../lib/inflate.c +#include lib/inflate.c #define SCR *((volatile unsigned char *)0x8a) #define TDR *((volatile unsigned char *)0x8b) diff --git a/arch/m32r/boot/compressed/misc.c b/arch/m32r/boot/compressed/misc.c index 600d40e..dac3a0b 100644 --- a/arch/m32r/boot/compressed/misc.c +++ b/arch/m32r/boot/compressed/misc.c @@ -90,7 +90,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include ../../../../lib/inflate.c +#include lib/inflate.c static void *malloc(int size) { diff --git a/arch/sh/boot/compressed/misc.c b/arch/sh/boot/compressed/misc.c index df65e30..a00dd7e 100644 --- a/arch/sh/boot/compressed/misc.c +++ b/arch/sh/boot/compressed/misc.c @@ -99,7 +99,7 @@ static unsigned long free_mem_end_ptr; #define HEAP_SIZE 0x1 -#include ../../../../lib/inflate.c +#include lib/inflate.c static void *malloc(int size) { diff --git a/arch/sh64/boot/compressed/misc.c
[PATCH 1/3] Remove unused dependency
Signed-off-by: Joe Perches <[EMAIL PROTECTED]> --- arch/alpha/boot/Makefile |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile index cd14388..c53169c 100644 --- a/arch/alpha/boot/Makefile +++ b/arch/alpha/boot/Makefile @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) $(LIBS_Y) FORCE $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE $(call if_changed,ld) - -$(obj)/misc.o: lib/inflate.c -- 1.5.3.7.949.g2221a6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/3] Remove unused dependency
Signed-off-by: Joe Perches [EMAIL PROTECTED] --- arch/alpha/boot/Makefile |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/alpha/boot/Makefile b/arch/alpha/boot/Makefile index cd14388..c53169c 100644 --- a/arch/alpha/boot/Makefile +++ b/arch/alpha/boot/Makefile @@ -112,5 +112,3 @@ $(obj)/bootpheader: $(obj)/bootloader.lds $(OBJ_bootph) $(LIBS_Y) FORCE $(obj)/bootpzheader: $(obj)/bootloader.lds $(OBJ_bootpzh) $(LIBS_Y) FORCE $(call if_changed,ld) - -$(obj)/misc.o: lib/inflate.c -- 1.5.3.7.949.g2221a6 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/