Set XDEV and XDEV_ARCH based on the value of TARGET_ARCH