create valid xmlfiles that pass xmllint
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2333 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -298,12 +298,7 @@ function build_target
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xml " <compiler>"
|
|
||||||
xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
|
|
||||||
xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
|
|
||||||
xml " </compiler>"
|
|
||||||
xml ""
|
|
||||||
|
|
||||||
# TBD: look for suitable cross compiler suite
|
# TBD: look for suitable cross compiler suite
|
||||||
# cross-$TARCH-gcc and cross-$TARCH-ld
|
# cross-$TARCH-gcc and cross-$TARCH-ld
|
||||||
|
|
||||||
@@ -311,9 +306,18 @@ function build_target
|
|||||||
if [ $found_crosscompiler == "false" ]; then
|
if [ $found_crosscompiler == "false" ]; then
|
||||||
echo " ($TARCH: skipped, we're $ARCH)"
|
echo " ($TARCH: skipped, we're $ARCH)"
|
||||||
echo
|
echo
|
||||||
|
xml " <status>notbuilt</status>"
|
||||||
|
xml ""
|
||||||
|
xml "</mainboard>"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo " ($TARCH: ok, we're $ARCH)"
|
echo " ($TARCH: ok, we're $ARCH)"
|
||||||
|
xml " <compiler>"
|
||||||
|
xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
|
||||||
|
xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
|
||||||
|
xml " </compiler>"
|
||||||
|
xml ""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user