blob: 0a6613aaa8d25604c22af4875ebc59525eec9f65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
|