diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:32:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:33:01 +0200 |
commit | a23e506202ffa96390759bcb492e23260ab37dc0 (patch) | |
tree | ad181720f90b56c87ba2867b3db4f1c0a6cd4235 /package/uclibc-ng-test | |
parent | 50f4448b11b0b4bfde718834262f5b697e72c36d (diff) |
uclibc-ng: separate test suite from uClibc-ng package
Diffstat (limited to 'package/uclibc-ng-test')
-rw-r--r-- | package/uclibc-ng-test/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/uclibc-ng-test/Makefile b/package/uclibc-ng-test/Makefile new file mode 100644 index 000000000..0a6613aaa --- /dev/null +++ b/package/uclibc-ng-test/Makefile @@ -0,0 +1,36 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= uClibc-ng-test +PKG_VERSION:= git +PKG_RELEASE:= 1 +PKG_DESCR:= embedded c library testsuite +PKG_SECTION:= base/tests +PKG_URL:= http://www.uclibc-ng.org +PKG_SITES:= git://uclibc-ng.org/git/uclibc-ng-test + +PKG_NOPARALLEL:= 1 +PKG_LIBC_DEPENDS:= uclibc-ng + +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 +INSTALL_STYLE:= manual + +ifeq ($(ADK_RUNTIME_ENABLE_LOCALE),) +XAKE_FLAGS+= NO_LOCALE=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}/opt/uclibc-ng + ${CP} $(WRKBUILD)/test \ + ${IDIR_UCLIBC_NG_TEST}/opt/uclibc-ng + @find ${IDIR_UCLIBC_NG_TEST}/opt/uclibc-ng -name \*.o -exec rm {} \; + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk |