riscv: use glibc 2.26 branch and latest git sources for linux kernel
[openadk.git] / package / uclibc-ng-test / Makefile
blob309ee3d7ee069b20a756c446e4de9659f5ff2a73
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= uClibc-ng-test
7 PKG_VERSION:= git
8 PKG_RELEASE:= 1
9 PKG_DESCR:= embedded c library testsuite
10 PKG_SECTION:= base/tests
11 PKG_URL:= http://www.uclibc-ng.org
12 PKG_SITES:= git://uclibc-ng.org/git/uclibc-ng-test
14 PKG_NOPARALLEL:= 1
16 include $(ADK_TOPDIR)/mk/package.mk
18 $(eval $(call PKG_template,UCLIBC_NG_TEST,uclibc-ng-test,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20 CONFIG_STYLE:= manual
22 # disable math tests
23 XAKE_FLAGS+= NO_MATH=1
24 ifeq ($(ADK_TARGET_LIB_MUSL),y)
25 XAKE_FLAGS+= NO_MATH=1
26 endif
27 ifeq ($(ADK_TARGET_WITH_LT),y)
28 XAKE_FLAGS+= NO_TLS=1 NO_NPTL=1
29 endif
30 ifeq ($(ADK_TARGET_WITHOUT_THREADS),y)
31 XAKE_FLAGS+= NO_TLS=1 NO_THREADS=1
32 endif
33 ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
34 XAKE_FLAGS+= NO_DL=1
35 endif
36 ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
37 XAKE_FLAGS+= NO_DL=1 NO_TLS=1 NO_NPTL=1
38 endif
39 ifeq ($(ADK_TARGET_LIBC_WITH_LOCALE),)
40 XAKE_FLAGS+= NO_LOCALE=1
41 endif
43 uclibc-ng-test-install:
44 ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/etc
45 echo '00:11:22:33:44:55 teeth' > ${IDIR_UCLIBC_NG_TEST}/etc/ethers
46 ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/usr/lib
47 ${CP} $(WRKINST)/usr/lib/* ${IDIR_UCLIBC_NG_TEST}/usr/lib/
49 include ${ADK_TOPDIR}/mk/pkg-bottom.mk