]> code.ossystems Code Review - openembedded-core.git/commitdiff
allarch: Set empty TARGET_PREFIX and TARGET_FPU
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 18 Jan 2014 14:02:40 +0000 (15:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Jan 2014 17:10:45 +0000 (17:10 +0000)
* set empty TARGET_PREFIX
  This has a bit weird reason caused by unsupported setup where
  external-toolchain is used in some DISTRO only for some MACHINEs
  and internal is used for other MACHINEs.
  Because external-toolchain usually comes with different TARGET_PREFIX
  it was causing allarch recipes to have different signatures even
  when they don't use toolchain at all.
  Empty TARGET_PREFIX also helps to find allarch recipes which still
  have default dependency on e.g. virtual/${TARGET_PREFIX}gcc.
* add TARGET_FPU just for completeness (it was used in icecc.bbclass
  but now it's vardepexcluded there as well)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass

index 3ef1e9c0efe5313b9169942b151016854be7bc4c..d41dd4bee820c6c96f2445fc64ca8d1f53cd34de 100644 (file)
@@ -22,6 +22,8 @@ python () {
         d.setVar("TARGET_CC_ARCH", "none")
         d.setVar("TARGET_LD_ARCH", "none")
         d.setVar("TARGET_AS_ARCH", "none")
+        d.setVar("TARGET_FPU", "")
+        d.setVar("TARGET_PREFIX", "")
         d.setVar("PACKAGE_EXTRA_ARCHS", "")
         d.setVar("SDK_ARCH", "none")
         d.setVar("SDK_CC_ARCH", "none")