mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-01 12:53:27 +01:00
20 lines
367 B
Perl
Executable File
20 lines
367 B
Perl
Executable File
#!/usr/bin/perl
|
|
#
|
|
# write out configdata.pm as json
|
|
#
|
|
use strict;
|
|
use warnings;
|
|
use JSON;
|
|
|
|
BEGIN {
|
|
my $openssldir = shift;
|
|
push @INC, $openssldir;
|
|
}
|
|
use configdata qw/%config %target %unified_info/;
|
|
|
|
my %data;
|
|
$data{'config'} = \%config;
|
|
$data{'target'} = \%target;
|
|
$data{'unified_info'} = \%unified_info;
|
|
print encode_json(\%data)
|