summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobert Schwebel (Laptop) <rsc@thebe.(none)>2007-09-25 22:02:21 +0200
committerRobert Schwebel (Laptop) <rsc@thebe.(none)>2007-09-25 22:02:21 +0200
commita241d078c6fc72309b16dcdf189c5f3d33c8a3a3 (patch)
tree5755b698f91fdd70c90f926b68ca09d725e32bf6 /Makefile
parente6ca62360ef526b587f706e49d25bba08d33ee35 (diff)
downloadbarebox-a241d078c6fc72309b16dcdf189c5f3d33c8a3a3.tar.gz
barebox-a241d078c6fc72309b16dcdf189c5f3d33c8a3a3.tar.xz
Subject: default ARCH and CROSS_COMPILE
Set a sane default if ARCH and CROSS_COMPILE are not set. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1cb9cf9b3c..f7d9428e5b 100644
--- a/Makefile
+++ b/Makefile
@@ -163,6 +163,9 @@ export srctree objtree VPATH
# Alternatively CROSS_COMPILE can be set in the environment.
# Default value for CROSS_COMPILE is not to prefix executables
+ARCH := sandbox
+CROSS_COMPILE :=
+
# Architecture as present in compile.h
UTS_MACHINE := $(ARCH)