From 12e5f1653c411c44ae5f091a43ab335b4f4dddb1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 4 Oct 2012 15:54:51 +0200 Subject: create needed dirs --- package/glibc/Makefile | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'package') diff --git a/package/glibc/Makefile b/package/glibc/Makefile index 1b05d0886..91ebc1f77 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -23,6 +23,7 @@ $(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${P TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS)) TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) +XAKE_FLAGS+= GCC_HONOUR_COPTS=s CONFIG_STYLE:= manual BUILD_STYLE:= manual @@ -30,23 +31,7 @@ INSTALL_STYLE:= manual # compile nothing, glibc is already build in toolchain directory do-install: - ${INSTALL_DIR} $(IDIR_GLIBC)/lib $(IDIR_GLIBC)/etc - #cd ${STAGING_TARGET_DIR} && for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \ - # test -s usr/share/zoneinfo/"$$f" || continue; \ - # echo usr/share/zoneinfo/"$$f" | \ - # ${TOOLS_DIR}/cpio -pdu ${IDIR_GLIBC}/; \ - #done - #tz=; cd ${IDIR_GLIBC}/usr/share/zoneinfo || exit 1; \ - # for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \ - # test -s "$$f" || continue; \ - # tz=$$f; \ - #done; if test x"$$tz" = x""; then \ - # echo >&2 Error during timezone installation; \ - # exit 1; \ - #else \ - # ln -sf "../usr/share/zoneinfo/$$tz" \ - # ${IDIR_GLIBC}/etc/localtime; \ - #fi + ${INSTALL_DIR} ${IDIR_GLIBC}/lib ${IDIR_GLIBC}/etc ${CP} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_GLIBC}/etc ${CP} ${STAGING_TARGET_DIR}/etc/nscd.conf ${IDIR_GLIBC}/etc ${CP} ${STAGING_TARGET_DIR}/etc/nsswitch.conf ${IDIR_GLIBC}/etc @@ -76,6 +61,7 @@ glibc-dev-install: headers_install (cd $(WRKBUILD); \ $(GLIBC_ENV) \ + GCC_HONOUR_COPTS=s \ $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)/configure \ --prefix=$(IDIR_GLIBC_DEV)/usr \ --with-sysroot=$(IDIR_GLIBC_DEV) \ -- cgit v1.2.3