uClibc: mark as broken for all architectures that use musl by default
[openwrt/staging/lynxis/omap.git] / toolchain / glibc / Makefile
1 PATH_PREFIX := .
2 VARIANT:=final
3 HOST_BUILD_PARALLEL:=0
4
5 include ./common.mk
6
7 define Host/Compile
8 $(MAKE) -C $(CUR_BUILD_DIR) \
9 PARALLELMFLAGS="$(HOST_JOBS)" \
10 BUILD_CFLAGS="$(HOST_CFLAGS)" \
11 all
12 endef
13
14 define Host/Install
15 $(call Host/SetToolchainInfo)
16 $(MAKE) -C $(CUR_BUILD_DIR) \
17 BUILD_CFLAGS="$(HOST_CFLAGS)" \
18 install_root="$(TOOLCHAIN_DIR)" \
19 install
20 ( cd $(TOOLCHAIN_DIR) ; \
21 for d in lib usr/lib ; do \
22 for f in libc.so libpthread.so libgcc_s.so ; do \
23 if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
24 $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
25 fi \
26 done \
27 done \
28 )
29 endef
30
31 $(eval $(call HostBuild))