nvgpu: arch: Add YAML compilation check

Add makefile targets to the tmake nvgpu-drv build to execute the arch.py
script before compiling the driver. This ensures that our source matches
our YAML at all times.

Also add one YAML fix to make sure the arch check actually passes!

JIRA NVGPU-3075

Change-Id: Ic893a26889732ce55ce16b0188da337629921e6b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2119821
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Elcan <pelcan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Alex Waterman
2019-05-08 08:23:11 -07:00
committed by mobile promotions
parent 646b08a032
commit e4c63e7b36
2 changed files with 36 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ nvgpu:
safe: yes
owner: Alex W
sources: [ include/nvgpu/gk20a.h,
include/nvgpu/nvgpu_common.h ]
include/nvgpu/nvgpu_common.h,
include/nvgpu/secure_ops.h ]
bios:
safe: yes