diff options
| author | unitexe <unitexe70@gmail.com> | 2025-12-22 13:23:47 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2025-12-22 13:25:11 -0600 |
| commit | 1e7a50db174e6389c36ef356b6a32b9b13890dec (patch) | |
| tree | 51396a29232ebaeba2f464ecd924fceb766963e4 /build.rs | |
- Get root
- Get select u-boot environment variables
- Get build info from /etc/buildinfo
- Get versions from /etc/sw-versions
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..c5dbf1c --- /dev/null +++ b/build.rs @@ -0,0 +1,12 @@ +fn main() -> Result<(), Box<dyn std::error::Error>> { + tonic_prost_build::configure().compile_protos( + &[ + "proto/buildinfo.proto", + "proto/devinfo.proto", + "proto/swversions.proto", + "proto/ubootenv.proto", + ], + &["proto/"], + )?; + Ok(()) +} |
