Date:2009-12-01 07:55:16 (10 years 6 months ago)
Author:xiangfu
Commit:9f03be916e6e871da7b0e5f3d30ca3f41a32259e
Message:600-fix-compile-zImage.patch

Files: arch/mips/boot/compressed/Makefile (1 diff)
arch/mips/boot/compressed/misc.c (2 diffs)

Change Details

arch/mips/boot/compressed/Makefile
2727    $(CC) $(KBUILD_AFLAGS) \
2828    -DIMAGESIZE=$(shell sh $(FILESIZE) $(obj)/vmlinux.bin.gz) \
2929    -DKERNEL_ENTRY=$(shell sh $(ENTRY) $(NM) vmlinux ) \
30    -DLOADADDR=$(loadaddr) \
30    -DLOADADDR=$(loadaddr) -I$(srctree)/arch/mips/include \
3131    -c -o $(obj)/head.o $<
3232
3333$(obj)/vmlinuz: $(OBJS) $(obj)/ld.script $(obj)/vmlinux.bin.gz $(obj)/dummy.o
arch/mips/boot/compressed/misc.c
102102#define HEAP_SIZE 0x10000
103103
104104#include "../../../../lib/inflate.c"
105
105#if 0
106106static void *malloc(int size)
107107{
108108    void *p;
...... 
124124static void free(void *where)
125125{ /* Don't care */
126126}
127#endif
127128
128129static void gzip_mark(void **ptr)
129130{

Archive Download the corresponding diff file



interactive