Fix cleaning SeaBIOS from coreboot makefile
authorMarc Jones <marc.jones@se-eng.com>
Mon, 19 Mar 2012 23:32:33 +0000 (17:32 -0600)
committerMarc Jones <marcj303@gmail.com>
Mon, 26 Mar 2012 17:12:22 +0000 (19:12 +0200)
The coreboot makefile didn't pass the OUT and CC variables to seabios,
so the clean didn't clean anything.

Change-Id: Ieaf0c417d6e5dfb9e0a11df70b03d6313919578b
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/801
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martin@se-eng.com>
Reviewed-by: Marc Jones <marcj303@gmail.com>
Makefile.inc

index 86a072ab49a630f387d8ac66340d9520107f8536..b4855d0b6831802b68708973045d2612079db0f0 100644 (file)
@@ -204,7 +204,7 @@ clean-for-update-target:
        rm -f $(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc
        rm -f $(obj)/mainboard/$(MAINBOARDDIR)/bootblock.* $(obj)/mainboard/$(MAINBOARDDIR)/dsdt.*
        rm -f $(obj)/cpu/x86/smm/smm_bin.c $(obj)/cpu/x86/smm/smm.* $(obj)/cpu/x86/smm/smm
-       $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc clean
+       $(MAKE) -C payloads/external/SeaBIOS -f Makefile.inc clean OUT=$(abspath $(obj)) HOSTCC="$(HOSTCC)" CC="$(CC)" LD="$(LD)"
 
 clean-target:
        rm -f $(obj)/coreboot*