uClibc: Deactivate oversized thread stack cache
[openwrt/openwrt.git] / toolchain / eglibc / headers / Makefile
1 PATH_PREFIX:=..
2 VARIANT:=headers
3
4 include ../common.mk
5
6 define Host/Compile
7
8 endef
9
10 define Host/Install
11 $(call Host/SetToolchainInfo)
12 mkdir -p $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/{include,lib}
13 $(MAKE) -C $(CUR_BUILD_DIR) \
14 install_root="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev" \
15 install-bootstrap-headers=yes \
16 install-headers
17 $(MAKE) -C $(CUR_BUILD_DIR) \
18 csu/subdir_lib
19 ( cd $(CUR_BUILD_DIR); \
20 $(CP) csu/crt1.o csu/crti.o csu/crtn.o $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/lib/ \
21 )
22 $(TARGET_CC) -nostdlib -nostartfiles -shared -x c /dev/null \
23 -o $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/lib/libc.so
24 endef
25
26 $(eval $(call HostBuild))