or1k: rename or1k-sim to sim-or1k, by default 64mb ram
[openadk.git] / package / uclibc-ng-test / Makefile
blobc41022373fbb85b9c49674de29eea87b2b1b7430
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 ifeq ($(ADK_APPLIANCE_TEST),y)
23 XAKE_FLAGS+= NO_MATH=1
24 endif
25 ifeq ($(ADK_TARGET_LIB_MUSL),y)
26 XAKE_FLAGS+= NO_MATH=1
27 endif
28 ifeq ($(ADK_TARGET_WITH_LT),y)
29 XAKE_FLAGS+= NO_TLS=1 NO_NPTL=1
30 endif
31 ifeq ($(ADK_TARGET_WITHOUT_THREADS),y)
32 XAKE_FLAGS+= NO_TLS=1 NO_THREADS=1
33 endif
34 ifeq ($(ADK_TARGET_BINFMT_FLAT),y)
35 XAKE_FLAGS+= NO_DL=1
36 endif
37 ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
38 XAKE_FLAGS+= NO_DL=1
39 endif
40 ifeq ($(ADK_RUNTIME_ENABLE_LOCALE),)
41 XAKE_FLAGS+= NO_LOCALE=1
42 endif
44 uclibc-ng-test-install:
45 ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/etc
46 echo '00:11:22:33:44:55 teeth' > ${IDIR_UCLIBC_NG_TEST}/etc/ethers
47 ${INSTALL_DIR} ${IDIR_UCLIBC_NG_TEST}/usr/lib
48 ${CP} $(WRKINST)/usr/lib/* ${IDIR_UCLIBC_NG_TEST}/usr/lib/
50 include ${ADK_TOPDIR}/mk/pkg-bottom.mk