Proposed Zynq Platform Build Script Improvements for Kernel Modules

Description

Right now, a default uramdisk.image.gz is copied, patched, and exported during the zed platform's processing for building an SD card image. The filesystem contained within this gzipped ramdisk contains prebuilt kernel modules. To further ensure continuity between the kernel modules in the ramdisk and the kernel built by the SD card image build scripts, it would be better to add a line in the build scripts for building the kernel modules (something like make modules ARCH=arm OCPI_CROSS...), delete the existing kernel modules on the ramdisk, and copy the newly built kernel modules onto the ramdisk.

This will also help "genericize" the build process for future platforms building for zynq which may be built from a different linux-xlnx git tag.

Environment

None

Status

Assignee

Unassigned

Reporter

Davis Hoover

Labels

None

Components

Priority

Minor