/[linux-patches]/genpatches-2.6/tags/2.6.19-3/2900_astest-sandbox.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.19-3/2900_astest-sandbox.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 764 - (show annotations) (download)
Wed Dec 13 00:23:17 2006 UTC (10 years, 10 months ago) by dsd
File size: 841 byte(s)
2.6.19-3 release
1 Index: linux-2.6.19/scripts/Kbuild.include
2 ===================================================================
3 --- linux-2.6.19.orig/scripts/Kbuild.include
4 +++ linux-2.6.19/scripts/Kbuild.include
5 @@ -66,9 +66,11 @@ as-option = $(shell if $(CC) $(CFLAGS) $
6 # as-instr
7 # Usage: cflags-y += $(call as-instr, instr, option1, option2)
8
9 -as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o astest$$$$.out ; \
10 +as-instr = $(shell if echo -e "$(1)" | $(AS) >/dev/null 2>&1 -W -Z -o \
11 + $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/)astest$$$$.out ; \
12 then echo "$(2)"; else echo "$(3)"; fi; \
13 - rm -f astest$$$$.out)
14 + rm -f \
15 + $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/)astest$$$$.out)
16
17 # cc-option
18 # Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)

  ViewVC Help
Powered by ViewVC 1.1.20