summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:45:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:45:29 +0100
commit220a96f9926788ed531717f78e44fdf1e7ab3b34 (patch)
tree406f65eea71fabd8cf66c2bd1108ec63f8c349ee /rules.mk
parent38af8185ea05a1c5d1abb32a68a025e3b4afa4d6 (diff)
rework architecture / embedded systems concept
Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;)
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk19
1 files changed, 10 insertions, 9 deletions
diff --git a/rules.mk b/rules.mk
index 0f5e1b627..12c136e97 100644
--- a/rules.mk
+++ b/rules.mk
@@ -25,19 +25,20 @@ SET_DASHX:= :
endif
# Strip off the annoying quoting
-ADK_TARGET:= $(strip $(subst ",, $(ADK_TARGET)))
-ADK_HW:= $(strip $(subst ",, $(ADK_HW)))
-ADK_LIBC:= $(strip $(subst ",, $(ADK_LIBC)))
-ADK_HOST:= $(strip $(subst ",, $(ADK_HOST)))
-ADK_VENDOR:= $(strip $(subst ",, $(ADK_VENDOR)))
+ADK_TARGET_ARCH:= $(strip $(subst ",, $(ADK_TARGET_ARCH)))
+ADK_TARGET_SYSTEM:= $(strip $(subst ",, $(ADK_TARGET_SYSTEM)))
+ADK_TARGET_LIBC:= $(strip $(subst ",, $(ADK_TARGET_LIBC)))
+ADK_TARGET_CFLAGS:= $(strip $(subst ",, $(ADK_TARGET_CFLAGS)))
ADK_TARGET_IP:= $(strip $(subst ",, $(ADK_TARGET_IP)))
ADK_TARGET_SUFFIX:= $(strip $(subst ",, $(ADK_TARGET_SUFFIX)))
-ADK_COMPRESSION_TOOL:= $(strip $(subst ",, $(ADK_COMPRESSION_TOOL)))
-ADK_TARGET_CFLAGS:= $(strip $(subst ",, $(ADK_TARGET_CFLAGS)))
+ADK_TARGET_CMDLINE:= $(strip $(subst ",, $(ADK_TARGET_CMDLINE)))
+ADK_RUNTIME_CONSOLE_SERIAL_SPEED:= $(strip $(subst ",, $(ADK_RUNTIME_CONSOLE_SERIAL_SPEED)))
+ADK_HOST:= $(strip $(subst ",, $(ADK_HOST)))
+ADK_VENDOR:= $(strip $(subst ",, $(ADK_VENDOR)))
ifeq ($(strip ${ADK_HAVE_DOT_CONFIG}),y)
-ifneq ($(strip $(wildcard $(TOPDIR)/target/$(ADK_TARGET)/target.mk)),)
-include $(TOPDIR)/target/$(ADK_TARGET)/target.mk
+ifneq ($(strip $(wildcard $(TOPDIR)/target/$(ADK_TARGET_ARCH)/target.mk)),)
+include $(TOPDIR)/target/$(ADK_TARGET_ARCH)/target.mk
endif
endif