Patchwork Quieter build

login
register
about
Submitter Myles Watson
Date 2010-10-01 18:01:59
Message ID <AANLkTimQN-ThBWxM=Jps7fm11KV3jfVeKzB=vHP_FL-i@mail.gmail.com>
Download mbox | patch
Permalink /patch/2021/
State Accepted
Commit r5903
Headers show

Comments

Myles Watson - 2010-10-01 18:01:59
I'd like to redirect the output of iasl to a file.  Patch attached.

Here's a little justification:
http://qa.coreboot.org/log_buildbrd.php?revision=5900&device=serengeti_cheetah&vendor=amd&num=2

Signed-off-by: Myles Watson <mylesgw@gmail.com>

Thanks,
Myles
Uwe Hermann - 2010-10-01 21:35:47
On Fri, Oct 01, 2010 at 12:01:59PM -0600, Myles Watson wrote:
> I'd like to redirect the output of iasl to a file.  Patch attached.
> 
> Here's a little justification:
> http://qa.coreboot.org/log_buildbrd.php?revision=5900&device=serengeti_cheetah&vendor=amd&num=2
> 
> Signed-off-by: Myles Watson <mylesgw@gmail.com>

Yep, makes sense.

Acked-by: Uwe Hermann <uwe@hermann-uwe.de>


Uwe.
Myles Watson - 2010-10-01 21:49:37
On Fri, Oct 1, 2010 at 3:35 PM, Uwe Hermann <uwe@hermann-uwe.de> wrote:
> On Fri, Oct 01, 2010 at 12:01:59PM -0600, Myles Watson wrote:
>> I'd like to redirect the output of iasl to a file.  Patch attached.
>>
>> Here's a little justification:
>> http://qa.coreboot.org/log_buildbrd.php?revision=5900&device=serengeti_cheetah&vendor=amd&num=2
>>
>> Signed-off-by: Myles Watson <mylesgw@gmail.com>
>
> Yep, makes sense.
>
> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Rev 5903.

Thanks,
Myles

Patch

Index: Makefile
===================================================================
--- Makefile	(revision 5901)
+++ Makefile	(working copy)
@@ -229,7 +229,7 @@ 
 $(obj)/$(1).ramstage.o: src/$(1).asl
 	@printf "    IASL       $$(subst $(top)/,,$$(@))\n"
 	$(CPP) -D__ACPI__ -P -include $(abspath $(obj)/config.h) -I$(src) -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$(basename $$@).asl
-	iasl -p $$(obj)/$(1) -tc $$(basename $$@).asl
+	iasl -p $$(obj)/$(1) -tc $$(basename $$@).asl > $$(basename $$@).asl.out
 	mv $$(obj)/$(1).hex $$(basename $$@).c
 	$(CC) $$(CFLAGS) $$(if $$(subst dsdt,,$$(basename $$(notdir $(1)))), -DAmlCode=AmlCode_$$(basename $$(notdir $(1)))) -c -o $$@ $$(basename $$@).c
 	# keep %.o: %.c rule from catching the temporary .c file after a make clean