add patches as binary. with -kb, i have some major problems with adding this patch...
[openwrt.git] / openwrt / package / linux / kernel-patches / 002-Rules_make
1 --- linux-mips-cvs/Rules.make 2003-08-13 17:39:03.000000000 +0200
2 +++ linux-broadcom/Rules.make 2005-01-31 13:13:14.000000000 +0100
3 @@ -176,7 +176,14 @@
4 _modinst__: dummy
5 ifneq "$(strip $(ALL_MOBJS))" ""
6 mkdir -p $(MODLIB)/kernel/$(MOD_DESTDIR)
7 - cp $(sort $(ALL_MOBJS)) $(MODLIB)/kernel/$(MOD_DESTDIR)
8 + @#cp $(sort $(ALL_MOBJS)) $(MODLIB)/kernel/$(MOD_DESTDIR)
9 + for f in $(ALL_MOBJS) ; do \
10 + $(OBJCOPY) -R __ksymtab -R .comment -R .note -x \
11 + `$(NM) $$f | cut -f3- -d' ' | sed -n \
12 + -e 's/__module_parm_\(.*\)/-K \1/p' \
13 + -e 's/__ks..tab_\(.*\)/-K \1/p'` \
14 + $$f $(MODLIB)/kernel/$(MOD_DESTDIR)$(MOD_TARGET)$$f ; \
15 + done
16 endif
17
18 .PHONY: modules_install
This page took 0.049558 seconds and 5 git commands to generate.