summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-29 09:36:35 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-29 09:36:35 +0000
commit142f88f74634bfe1969050f6e3d950de60f51412 (patch)
tree07a5478b4ba236266d60f6b556f00b1bca79bd25
parent260d3b4ac26be0764d8451f1de2ef7cd4b4c03cd (diff)
downloadbuildroot-novena-142f88f74634bfe1969050f6e3d950de60f51412.tar.gz
buildroot-novena-142f88f74634bfe1969050f6e3d950de60f51412.zip
run test with some knowledge of ARCH
-rw-r--r--scripts/test/Makefile7
-rw-r--r--scripts/testheader.inc2
2 files changed, 9 insertions, 0 deletions
diff --git a/scripts/test/Makefile b/scripts/test/Makefile
new file mode 100644
index 000000000..7396cf7eb
--- /dev/null
+++ b/scripts/test/Makefile
@@ -0,0 +1,7 @@
+include .config
+
+
+ARCH:
+ @echo $(strip $(subst ",,$(BR2_ARCH)))
+#")))
+
diff --git a/scripts/testheader.inc b/scripts/testheader.inc
index 80835867f..ea410a9ad 100644
--- a/scripts/testheader.inc
+++ b/scripts/testheader.inc
@@ -1,3 +1,5 @@
+ARCH=`make -f scripts/test/Makefile ARCH`
+
function mk()
{
scripts/mkpkg $1 $2 "$3"