diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:45:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:45:29 +0100 |
commit | 220a96f9926788ed531717f78e44fdf1e7ab3b34 (patch) | |
tree | 406f65eea71fabd8cf66c2bd1108ec63f8c349ee /toolchain/Makefile | |
parent | 38af8185ea05a1c5d1abb32a68a025e3b4afa4d6 (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 'toolchain/Makefile')
-rw-r--r-- | toolchain/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index 2c4b24db2..1e36c6b5f 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -32,7 +32,6 @@ DOWNLOAD:=kernel-headers-download $(patsubst %,%-download,$(TARGETS)) TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) -all: install install: $(TARGETS_INSTALL) clean: $(TARGETS_CLEAN) download: $(DOWNLOAD) @@ -47,11 +46,11 @@ gcc-configure: $(LIBC)-prepare $(LIBC)-compile: gcc-configure gcc-compile: $(LIBC)-install -$(STAGING_TOOLS): - @mkdir -p $(STAGING_TOOLS)/lib - @mkdir -p $(STAGING_TOOLS)/include - @mkdir -p $(STAGING_TOOLS)/$(REAL_GNU_TARGET_NAME) - @ln -sf ../lib $(STAGING_TOOLS)/$(REAL_GNU_TARGET_NAME)/lib +$(STAGING_HOST_DIR): + @mkdir -p $(STAGING_HOST_DIR)/lib + @mkdir -p $(STAGING_HOST_DIR)/include + @mkdir -p $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME) + @ln -sf ../lib $(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME)/lib $(TOOLCHAIN_BUILD_DIR): @mkdir -p $(TOOLCHAIN_BUILD_DIR) @@ -60,7 +59,7 @@ $(TOOLCHAIN_BUILD_DIR): $(TRACE) toolchain/$(patsubst %-download,%,$@)/download $(MAKE) -C $(patsubst %-download,%,$@) fetch -%-prepare: $(STAGING_TOOLS) $(TOOLCHAIN_BUILD_DIR) +%-prepare: $(STAGING_HOST_DIR) $(TOOLCHAIN_BUILD_DIR) $(TRACE) toolchain/$(patsubst %-prepare,%,$@)/prepare @if test x"$(patsubst %-prepare,%,$@)" = x"$(LIBC)"; then \ $(MAKE) -C $(patsubst %-prepare,%,$@) prepare \ |