summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-04 15:54:51 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-10-04 15:54:51 +0200
commit12e5f1653c411c44ae5f091a43ab335b4f4dddb1 (patch)
tree07197dcc38b28eba6a6c717e1a0969a8d866a0e9
parent3393f9b404c23f5c9e2aeda0ac22d6277ee4c06e (diff)
create needed dirs
-rw-r--r--package/glibc/Makefile20
1 files changed, 3 insertions, 17 deletions
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) \