summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-08 06:37:20 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-08 06:37:41 (GMT)
commitbd8b249679a8250f7f086bde5f187dd9af81beca (patch)
tree76153610e70f5440de753c4976fac133e8bb9afc /rules.mk
parentb9d3aca2cef4df6fcf5d9534e51ecd0797a12688 (diff)
use ADK_TARGET_KARCH for kernel stuff, fix ppc build
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 359071a..b5d53d0 100644
--- a/rules.mk
+++ b/rules.mk
@@ -57,6 +57,13 @@ ADK_PARAMETER_NETCONSOLE_DST_IP:= $(strip $(subst ",, $(ADK_PARAMETER_NETCONSOLE
ADK_JFFS2_OPTS:= $(strip $(subst ",, $(ADK_JFFS2_OPTS)))
ADK_WGET_TIMEOUT:= $(strip $(subst ",, $(ADK_WGET_TIMEOUT)))
+ADK_TARGET_KARCH:=$(ADK_TARGET_ARCH)
+
+# translate toolchain arch to kernel arch
+ifeq ($(ADK_TARGET_ARCH),ppc)
+ADK_TARGET_KARCH:=powerpc
+endif
+
include $(TOPDIR)/mk/vars.mk
ifneq (${show},)