From ac83367a7b2bc7a3a75e649fcbf6428ef6c9ccdd Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 24 Jun 2015 19:43:17 -0600 Subject: SeaBIOS: Change clean to just 'rm -rf seabios/out' When running 'make clean' if the seabios directory is present, we get warnings about not having IASL installed or that the C compiler can't be executed. It fails to actually run the clean because we're not correctly passing in the toolchain. Just do what the SeaBIOS clean does directly and delete the 'out' directory without actually calling the SeaBIOS clean. Here were the previous warnings: % make clean Unable to execute the C compiler (). Please install a working compiler and retry. Makefile:104: *** "Please upgrade the build environment". Stop. or % make clean The SeaBIOS project requires the 'iasl' package be installed. Many Linux distributions have this package. Try: sudo yum install iasl Or: sudo apt-get install iasl Please install iasl and retry. Makefile:106: *** "Please upgrade the build environment". Stop. Change-Id: Ice41376bc242f1f622d849e7628f8a9b6ef47404 Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/10655 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- payloads/external/SeaBIOS/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads/external/SeaBIOS') diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc index 087b723840..7fb63d4712 100644 --- a/payloads/external/SeaBIOS/Makefile.inc +++ b/payloads/external/SeaBIOS/Makefile.inc @@ -53,7 +53,7 @@ build: config $(MAKE) -C seabios OUT=out/ clean: - test -d seabios && $(MAKE) -C seabios clean OUT=out/ || exit 0 + test -d seabios/out && rm -rf seabios/out || exit 0 distclean: rm -rf seabios -- cgit v1.2.3