3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- linux-2.4.21/arch/um/Makefile~remove-bogus-includes 2004-02-01 15:44:08.000000000 +0100
7 +++ linux-2.4.21/arch/um/Makefile 2004-02-01 15:51:52.000000000 +0100
9 linux: setup $(ARCH_DIR)/main.o vmlinux $(LD_SCRIPT-y)
11 $(CC) -Wl,-T,$(LD_SCRIPT-y) $(LINK-y) $(LINK_WRAPS) \
12 - -o linux $(ARCH_DIR)/main.o vmlinux.o -L/usr/lib -lutil
13 + -o linux $(ARCH_DIR)/main.o vmlinux.o -L$(STAGING_LIBDIR) -lutil
15 USER_CFLAGS := $(patsubst -I%,,$(CFLAGS))
16 USER_CFLAGS := $(patsubst -Derrno=kernel_errno,,$(USER_CFLAGS))
17 --- linux-2.4.21/arch/um/kernel/tt/Makefile~remove-bogus-includes 2004-02-01 15:44:08.000000000 +0100
18 +++ linux-2.4.21/arch/um/kernel/tt/Makefile 2004-02-01 15:51:39.000000000 +0100
20 $(CC) $(UNMAP_CFLAGS) -c -o $@ $<
23 - ld -r -o $@ $< -lc -L/usr/lib
24 + ld -r -o $@ $< -lc -L$(STAGING_LIBDIR)