diff options
author | Martin Roth <gaumless@gmail.com> | 2015-06-24 19:43:17 -0600 |
---|---|---|
committer | Martin Roth <gaumless@gmail.com> | 2015-07-03 20:12:15 +0200 |
commit | ac83367a7b2bc7a3a75e649fcbf6428ef6c9ccdd (patch) | |
tree | 2f2fa0f21abbb0c74ddfa712179dfd4fbbc81e8a /payloads | |
parent | 2ba16dbd9929fb7370c3fccf12683ae51eb9b070 (diff) | |
download | coreboot-ac83367a7b2bc7a3a75e649fcbf6428ef6c9ccdd.tar.xz |
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 <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/10655
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/external/SeaBIOS/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |