wok-6.x view linux/stuff/linux-diff.u @ rev 17141
Add some ssh tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 11:15:31 2014 +0200 (2014-09-10) |
parents | 8580e54b5284 |
children | 708b5293dd29 |
line source
1 --- linux-3.2.53/arch/x86/vdso/Makefile
2 +++ linux-3.2.53/arch/x86/vdso/Makefile
3 @@ -118,10 +118,12 @@
4 $(foreach H,$(filter-out FORCE,$^),\
5 if grep -q VDSO32_SYSENTER_RETURN $H; \
6 then diff -u $(@D)/.tmp_$(@F) $H; \
7 - else sed /VDSO32_SYSENTER_RETURN/d $(@D)/.tmp_$(@F) | \
8 - diff -u - $H; fi &&) : ;\
9 + else sed /VDSO32_SYSENTER_RETURN/d $(@D)/.tmp_$(@F) > \
10 + $(@D)/.tmp_$(@F).$$ ; \
11 + diff -u $(@D)/.tmp_$(@F).$$ $H; fi &&) : ;\
12 then mv -f $(@D)/.tmp_$(@F) $@; \
13 - else rm -f $(@D)/.tmp_$(@F); exit 1; \
14 + else rm -f $(@D)/.tmp_$(@F)*; exit 1; \
15 + rm -f $(@D)/.tmp_$(@F)*; \
16 fi
17 endef
20 --- linux-3.2.53/scripts/Makefile.lib
21 +++ linux-3.2.53/scripts/Makefile.lib
22 @@ -239,7 +239,8 @@
23 # ---------------------------------------------------------------------------
25 quiet_cmd_gzip = GZIP $@
26 -cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \
27 +cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) && \
28 + ( which advdef > /dev/null && advdef -z $@ ; true ) || \
29 (rm -f $@ ; false)
31 # DTC
32 @@ -296,7 +297,7 @@
34 quiet_cmd_lzma = LZMA $@
35 cmd_lzma = (cat $(filter-out FORCE,$^) | \
36 - lzma -9 && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
37 + xz -z -e --format=lzma --lzma1=mode=normal --stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
38 (rm -f $@ ; false)
40 quiet_cmd_lzo = LZO $@