summaryrefslogtreecommitdiff
path: root/util/amdtools
diff options
context:
space:
mode:
Diffstat (limited to 'util/amdtools')
-rwxr-xr-xutil/amdtools/k8-compare-pci-space.pl3
-rwxr-xr-xutil/amdtools/k8-interpret-extended-memory-settings.pl3
-rwxr-xr-xutil/amdtools/k8-read-mem-settings.sh2
-rwxr-xr-xutil/amdtools/parse-bkdg.pl3
4 files changed, 7 insertions, 4 deletions
diff --git a/util/amdtools/k8-compare-pci-space.pl b/util/amdtools/k8-compare-pci-space.pl
index 77fdb59dd4..505d5b47c8 100755
--- a/util/amdtools/k8-compare-pci-space.pl
+++ b/util/amdtools/k8-compare-pci-space.pl
@@ -1,7 +1,8 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
use Getopt::Long;
use strict;
+use warnings;
my $NAME = $0;
my $VERSION = '0.01';
diff --git a/util/amdtools/k8-interpret-extended-memory-settings.pl b/util/amdtools/k8-interpret-extended-memory-settings.pl
index 176defc881..104e669d02 100755
--- a/util/amdtools/k8-interpret-extended-memory-settings.pl
+++ b/util/amdtools/k8-interpret-extended-memory-settings.pl
@@ -1,7 +1,8 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
use Getopt::Long;
use strict;
+use warnings;
my $NAME = $0;
my $VERSION = '0.01';
diff --git a/util/amdtools/k8-read-mem-settings.sh b/util/amdtools/k8-read-mem-settings.sh
index a0e62544c8..55b707141e 100755
--- a/util/amdtools/k8-read-mem-settings.sh
+++ b/util/amdtools/k8-read-mem-settings.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# This is an example that generates data files that are understood by the
# k8-interpret-extended-memory-settings.pl script. Adjust the pci ids for your
diff --git a/util/amdtools/parse-bkdg.pl b/util/amdtools/parse-bkdg.pl
index d0bb4c7b6f..31f3873436 100755
--- a/util/amdtools/parse-bkdg.pl
+++ b/util/amdtools/parse-bkdg.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
my $NAME = $0;
my $VERSION = '0.01';
@@ -11,6 +11,7 @@ my $URL = "https://coreboot.org";
my $DEBUG = 0;
use strict;
+use warnings;
# Run the bkdg for k8 through pdftotext first (from the poppler package)