summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-03 23:54:23 +0000
committerAndre Przywara <andre.przywara@arm.com>2016-02-04 09:04:56 +0000
commit953b94a6eb28474f2ee7f2f30c7dc109e289adc2 (patch)
tree2c998b8a124ec51066fa6af44a79c39250cd6cf1
parent90fc243e9256775c85f8763e8fa1b2b59e67d0ce (diff)
Makefile: revert Allwinner changes to default target
Apparently for convenience reasons the Makefile was changed by Allwinner to: * build the sun50iw1p1 target by default * hardcode the cross compiler from Allwinner's toolchain * enable debug build by default Revert those changes to bring the build system back into a sane state.
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index afd00c9..954c466 100644
--- a/Makefile
+++ b/Makefile
@@ -27,16 +27,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
-#check gcc tools chain
-arm_toolchain_check=$(strip $(shell if [ -d ../toolchain/gcc-arm -a -d ../toolchain/gcc-aarch64 ]; then echo yes; fi ) )
-ifneq ("$(arm_toolchain_check)", "yes")
- $(info "gcc tools chain not exist")
- $(info "Please run ./build.sh -t under brandy directory at the first time")
- $(error "")
-endif
-CROSS_COMPILE = ../toolchain/gcc-aarch64/bin/aarch64-linux-gnu-
-BL33=
#
# Trusted Firmware Version
#
@@ -50,11 +41,11 @@ VERSION_MINOR := 0
# Build verbosity
V := 0
# Debug build
-DEBUG := 1
+DEBUG := 0
# Build architecture
ARCH := aarch64
# Build platform
-DEFAULT_PLAT := sun50iw1p1
+DEFAULT_PLAT := fvp
PLAT := ${DEFAULT_PLAT}
# SPD choice
SPD := none