Makefile.inc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. PKG_NAME:= glibc
  4. PKG_VERSION:= 2.19
  5. PKG_RELEASE:= 1
  6. PKG_MD5SUM:= 5374d29864b583622b62bfc6b8429418
  7. PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
  8. ifeq ($(ADK_TARGET_ABI_32),y)
  9. GLIBC_TARGET_NAME:= i686-openadk-linux-gnu
  10. else
  11. GLIBC_TARGET_NAME:= $(GNU_TARGET_NAME)
  12. endif
  13. GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
  14. --host=$(GLIBC_TARGET_NAME) \
  15. --with-headers=$(STAGING_TARGET_DIR)/usr/include \
  16. --disable-sanity-checks \
  17. --disable-nls \
  18. --without-cvs \
  19. --disable-profile \
  20. --disable-debug \
  21. --without-gd \
  22. --disable-nscd \
  23. --with-__thread \
  24. --with-tls \
  25. --enable-kernel="2.6.32" \
  26. --enable-add-ons
  27. GLIBC_ENV:= PATH='${TARGET_PATH}' \
  28. SHELL='${SHELL}' \
  29. BUILD_CC=${CC_FOR_BUILD} \
  30. CFLAGS="$(TARGET_CFLAGS)" \
  31. CC="${TARGET_CC}" \
  32. CXX="${TARGET_CXX}" \
  33. AR="${TARGET_AR}" \
  34. RANLIB="${TARGET_RANLIB}" \
  35. libc_cv_forced_unwind=yes \
  36. libc_cv_cc_with_libunwind=yes \
  37. libc_cv_c_cleanup=yes \
  38. libc_cv_gnu99_inline=yes \
  39. libc_cv_initfini_array=yes \