From: Ulf Samuelsson Date: Thu, 29 Jan 2009 09:36:35 +0000 (-0000) Subject: run test with some knowledge of ARCH X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=142f88f74634bfe1969050f6e3d950de60f51412;p=buildroot.git run test with some knowledge of ARCH --- diff --git a/scripts/test/Makefile b/scripts/test/Makefile new file mode 100644 index 0000000000..7396cf7ebe --- /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 80835867f5..ea410a9add 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"