summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"