diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-10 11:01:06 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-10 11:01:06 +0200 |
commit | 4538623684f2f6b381afb7bfce8ac5dd39161ef9 (patch) | |
tree | e30ce7f125251e72ad7ad61e6d24ccc5e872b0b2 /toolchain/Makefile | |
parent | f4dba935fc9aa5ec89084f9d21c5f610d4f7138e (diff) | |
parent | 81618c13daaf81fe0411a0d25ebb4b57e5ecfdb4 (diff) |
update mutlilib support for mips
Diffstat (limited to 'toolchain/Makefile')
-rw-r--r-- | toolchain/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/Makefile b/toolchain/Makefile index a32648000..fd92b46f7 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -32,11 +32,13 @@ endif DOWNLOAD:=kernel-headers-download $(patsubst %,%-download,$(TARGETS)) TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS)) +FIXUP:=$(patsubst %,%-fixup,$(LIBC)) TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS)) install: $(TARGETS_INSTALL) clean: $(TARGETS_CLEAN) download: $(DOWNLOAD) +fixup: $(FIXUP) gcc-prepare: binutils-install gmp-install mpfr-install mpc-install libelf-install ifeq ($(ADK_TARGET_LIB_GLIBC),y) @@ -47,6 +49,7 @@ endif gcc-configure: $(LIBC)-prepare $(LIBC)-compile: gcc-configure gcc-compile: $(LIBC)-install +$(LIBC)-fixup: gcc-install $(STAGING_HOST_DIR): @mkdir -p $(STAGING_HOST_DIR)/lib @@ -102,6 +105,10 @@ $(STAGING_HOST_DIR): $(MAKE_TRACE); \ fi +%-fixup: %-install + $(TRACE) toolchain/$(patsubst %-fixup,%,$@)/fixup + @$(MAKE) -C $(patsubst %-fixup,%,$@) fixup $(MAKE_TRACE) + %-clean: $(TRACE) toolchain/$(patsubst %-clean,%,$@)/clean @$(MAKE) -C $(patsubst %-clean,%,$@) clean $(MAKE_TRACE) |