diff options
Diffstat (limited to 'package/uclibc-ng-test')
-rw-r--r-- | package/uclibc-ng-test/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/package/uclibc-ng-test/Makefile b/package/uclibc-ng-test/Makefile index 9042bcbc0..ebc1f1b62 100644 --- a/package/uclibc-ng-test/Makefile +++ b/package/uclibc-ng-test/Makefile @@ -10,18 +10,22 @@ PKG_DESCR:= embedded c library testsuite PKG_SECTION:= base/tests PKG_KDEPENDS:= inotify-user PKG_URL:= http://www.uclibc-ng.org -PKG_SITES:= git://uclibc-ng.org/git/uclibc-ng-test +PKG_SITES:= https://git.uclibc-ng.org/git/uclibc-ng-test.git PKG_NOPARALLEL:= 1 +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz + include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,UCLIBC_NG_TEST,uclibc-ng-test,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIG_STYLE:= manual -# disable math tests -XAKE_FLAGS+= NO_MATH=1 +XAKE_FLAGS+= V=1 +ifeq ($(ADK_TARGET_LIB_GLIBC),y) +XAKE_FLAGS+= NO_CRYPT=1 +endif ifeq ($(ADK_TARGET_LIB_MUSL),y) XAKE_FLAGS+= NO_MATH=1 endif @@ -40,11 +44,18 @@ endif ifeq ($(ADK_TARGET_LIBC_WITH_LOCALE),) XAKE_FLAGS+= NO_LOCALE=1 endif +ifeq ($(ADK_TARGET_ARCH_KVX),y) +XAKE_FLAGS+= NO_TLS=1 +endif +ifeq ($(ADK_TARGET_ARCH_NDS32),y) +XAKE_FLAGS+= NO_TLS=1 +endif uclibc-ng-test-install: ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/etc echo '00:11:22:33:44:55 teeth' > ${IDIR_UCLIBC_NG_TEST}/etc/ethers ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/usr/lib ${CP} $(WRKINST)/usr/lib/* ${IDIR_UCLIBC_NG_TEST}/usr/lib/ + -find $(IDIR_UCLIBC_NG_TEST) -name \*.gdb -delete include ${ADK_TOPDIR}/mk/pkg-bottom.mk |