summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 23:45:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 23:45:56 +0200
commita6f3e55ba6d92b1e9be6c91cc020bbaddb9e98a7 (patch)
tree77e9665ab363b941c2d2d859209e663a17009d11 /mk/build.mk
parent9d75f0d407be54a14bbb6bcae4d96cb433b69c86 (diff)
parent9d8ce74086152a6431f92e95533a31a0cd6b2d23 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 9530da61d..f71808b3f 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -443,6 +443,7 @@ distclean:
@rm -f .config* .defconfig .tmpconfig.h all.config ${TOPDIR}/prereq.mk \
.menu ${TOPDIR}/package/*/info.mk ${TOPDIR}/package/Depends.mk .ADK_HAVE_DOT_CONFIG
+
endif # ! ifeq ($(strip $(ADK_HAVE_DOT_CONFIG)),y)
# build all targets and combinations
@@ -504,3 +505,14 @@ dep:
mksh $(TOPDIR)/package/depmaker
.PHONY: menu dep
+
+include $(TOPDIR)/toolchain/gcc/Makefile.inc
+
+check:
+ @-rm tests/adk.exp tests/master.exp
+ @sed -e "s#@ADK_TARGET_IP@#$(ADK_TARGET_IP)#" tests/adk.exp.in > \
+ tests/adk.exp
+ @sed -e "s#@TOPDIR@#$(TOPDIR)#" tests/master.exp.in > \
+ tests/master.exp
+ env DEJAGNU=$(TOPDIR)/tests/master.exp \
+ $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)-final/gcc check-gcc