diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-28 14:16:09 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-28 14:16:09 +0200 |
commit | 89d8792b4e3857c6f53adb44b4b019c552fe3b91 (patch) | |
tree | b8a88e5d8b87258d34ad554e7ec131ac579037ea /scripts | |
parent | 61b771fc02c8b8fa3f7cbef4db7df795f7ada403 (diff) | |
parent | a0da5218e99ade6a4c6c55487696a4bde06f930e (diff) | |
download | lwn-89d8792b4e3857c6f53adb44b4b019c552fe3b91.tar.gz lwn-89d8792b4e3857c6f53adb44b4b019c552fe3b91.zip |
Merge branch 'rt/misc' into rt/base
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index c29be8f90248..55a25711b8d4 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -98,8 +98,9 @@ as-option = $(call try-run,\ # as-instr # Usage: cflags-y += $(call as-instr,instr,option1,option2) -as-instr = $(call try-run,\ - echo -e "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3)) +as-instr = $(call try-run, \ + echo -e "$(1)" > "$$TMP"; \ + $(CC) $(KBUILD_AFLAGS) -c -xassembler -o /dev/null "$$TMP",$(2),$(3)) # cc-option # Usage: cflags-y += $(call cc-option,-march=winchip-c6,-march=i586) |