diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-07 19:20:16 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-07 19:20:16 +0100 |
commit | e3d82f03e59751f2ab4888524f3c613c399b453a (patch) | |
tree | d5c72b060b2384aea3cb3fc3f3ab53fb23278e13 /toolchain/eglibc/Makefile | |
parent | 226c702c14a1d4751b6c08f0e874ca57a4f973d3 (diff) |
fix eglibc/glibc toolchain building with make 3.82
Diffstat (limited to 'toolchain/eglibc/Makefile')
-rw-r--r-- | toolchain/eglibc/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/toolchain/eglibc/Makefile b/toolchain/eglibc/Makefile index 863cd88ba..7f12ce725 100644 --- a/toolchain/eglibc/Makefile +++ b/toolchain/eglibc/Makefile @@ -11,10 +11,8 @@ ifneq ($(ADK_DEBUG),) TARGET_CFLAGS+= -O2 endif -EGLIBC_CONFOPTS:= \ - --build=$(GNU_HOST_NAME) \ +EGLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \ --host=$(REAL_GNU_TARGET_NAME) \ - --with-headers=$(TOOLCHAIN_SYSROOT)/usr/include \ --disable-nls \ --without-cvs \ --disable-profile \ @@ -49,7 +47,7 @@ $(WRKBUILD)/.headers_configure: (cd ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION); \ ln -sf ../ports ${WRKDIR}/$(PKG_NAME)-$(PKG_VERSION)/libc); $(CP) ${TOPDIR}/toolchain/eglibc/eglibc.config \ - $(EGLIBC_BUILD_DIR_INITIAL) + $(EGLIBC_BUILD_DIR_INITIAL)/option-groups.config (cd $(EGLIBC_BUILD_DIR_INITIAL); \ ${EGLIBC_ENV} \ $(WRKBUILD)/libc/configure \ @@ -60,16 +58,16 @@ $(WRKBUILD)/.headers_configure: touch $@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure - mkdir -p $(TOOLCHAIN_SYSROOT)/usr/lib - PATH='${TARGET_PATH}' \ - $(MAKE) -C $(EGLIBC_BUILD_DIR_INITIAL) \ - install-headers install-bootstrap-headers=yes + (cd $(EGLIBC_BUILD_DIR_INITIAL); \ + PATH='${TARGET_PATH}' \ + $(MAKE) install-headers install-bootstrap-headers=yes \ + ); touch $@ $(WRKBUILD)/.configured: mkdir -p $(EGLIBC_BUILD_DIR_FINAL) $(CP) ${TOPDIR}/toolchain/eglibc/eglibc.config \ - $(EGLIBC_BUILD_DIR_FINAL) + $(EGLIBC_BUILD_DIR_FINAL)/option-groups.config (cd $(EGLIBC_BUILD_DIR_FINAL); \ ${EGLIBC_ENV} \ $(WRKBUILD)/libc/configure \ |