carl9170 firmware: add cmake helpers