uClibc: Deactivate oversized thread stack cache
[openwrt/openwrt.git] / toolchain / eglibc / Makefile
1 PATH_PREFIX := .
2 VARIANT:=final
3 HOST_BUILD_PARALLEL:=1
4
5 include ./common.mk
6
7 define Host/Compile
8 $(MAKE) -C $(CUR_BUILD_DIR) all PARALLELMFLAGS="$(HOST_JOBS)"
9 endef
10
11 define Host/Install
12 $(call Host/SetToolchainInfo)
13 $(MAKE) -C $(CUR_BUILD_DIR) \
14 install_root="$(TOOLCHAIN_DIR)" \
15 install
16 ( cd $(TOOLCHAIN_DIR) ; \
17 for d in lib usr/lib ; do \
18 for f in libc.so libpthread.so libgcc_s.so ; do \
19 if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
20 $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
21 fi \
22 done \
23 done \
24 )
25 endef
26
27 $(eval $(call HostBuild))