From aa419b2a267620647212a1616fad2b499f5fb6c6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 2 Feb 2015 23:34:37 -0600 Subject: add some fixes and inrastructure for arm nommu support --- toolchain/gcc/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'toolchain/gcc/Makefile') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index a3f9a03af..9881ff92e 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -284,10 +284,18 @@ endif ln -sf libstdc++.so.6.0.$(LIBSTDCXXVER) libstdc++.so.6 # cleanup unneeded docs rm -rf $(TOOLCHAIN_DIR)/usr/share +ifeq ($(ADK_TARGET_ARCH_M68K),y) # create gcc wrapper for uClinux/m68k echo "#!/bin/sh" > $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc echo "exec ${GNU_TARGET_NAME}-gcc \"\$$@\" -specs $(ADK_TOPDIR)/toolchain/gcc/m68k-uclinux-gcc.specs" >> $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc chmod a+x $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc +endif +ifeq ($(ADK_TARGET_ARCH_ARM),y) + # create gcc wrapper for uClinux/arm + echo "#!/bin/sh" > $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc + echo "exec ${GNU_TARGET_NAME}-gcc \"\$$@\" -specs $(ADK_TOPDIR)/toolchain/gcc/arm-uclinux-gcc.specs" >> $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc + chmod a+x $(TOOLCHAIN_DIR)/usr/bin/adk-uclinux-gcc +endif touch $@ include ${ADK_TOPDIR}/mk/toolchain.mk -- cgit v1.2.3