X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/11543233b23052270bdda2cb21cc41096e579904..1e7c08f2768b9259ebbaa94b9964c5669337df86:/toolchain/uClibc/Makefile diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index 74936e97f..576fa6e0d 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -24,6 +24,7 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ -e 's/i.86/i386/' \ -e 's/sparc.*/sparc/' \ -e 's/arm.*/arm/g' \ + -e 's/avr32.*/avr32/g' \ -e 's/m68k.*/m68k/' \ -e 's/ppc/powerpc/g' \ -e 's/v850.*/v850/g' \ @@ -36,7 +37,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \ define Build/Prepare $(call Build/Prepare/Default) - $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak if [ -e config/$(ARCH).$(BOARD) ]; then \ $(CP) config/$(ARCH).$(BOARD) $(PKG_BUILD_DIR)/.config; \ else \ @@ -72,7 +72,8 @@ define Build/Configure endef define Build/Compile - PATH=$(TARGET_PATH) $(MAKE) -j $(CONFIG_JLEVEL) -C $(PKG_BUILD_DIR) \ + $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(PKG_BUILD_DIR)/Rules.mak + PATH=$(TARGET_PATH) $(MAKE) -C $(PKG_BUILD_DIR) \ PREFIX= \ DEVEL_PREFIX=/ \ RUNTIME_PREFIX=/ \