1# 2# Copyright 2017, Data61 3# Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4# ABN 41 687 119 230. 5# 6# This software may be distributed and modified according to the terms of 7# the GNU General Public License version 2. Note that NO WARRANTY is provided. 8# See "LICENSE_GPLv2.txt" for details. 9# 10# @TAG(DATA61_GPL) 11# 12 13cmake_minimum_required(VERSION 3.7.2) 14 15if(KernelPlatformWandQ OR KernelPlatformSabre) 16 set(KernelArmCortexA9 ON) 17 set(KernelArchArmV7a ON) 18 config_set(KernelPlatImx6 PLAT_IMX6 ON) 19 config_set(KernelPlatform PLAT "imx6") 20 set(KernelArmMach "imx" CACHE INTERNAL "") 21else() 22 config_set(KernelPlatImx6 PLAT_IMX6 OFF) 23endif() 24 25add_sources( 26 DEP "KernelPlatImx6" 27 CFILES src/plat/imx6/machine/io.c 28) 29