From 89935e7308844cbf662a93f1d327c700456b299e Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Wed, 5 Dec 2018 15:20:42 +0100 Subject: [PATCH] gems: add pkg/drivers_nic-pc --- repos/gems/recipes/pkg/drivers_nic-pc/README | 3 + .../gems/recipes/pkg/drivers_nic-pc/archives | 5 ++ repos/gems/recipes/pkg/drivers_nic-pc/hash | 1 + .../recipes/raw/drivers_nic-pc/content.mk | 4 + .../recipes/raw/drivers_nic-pc/drivers.config | 88 +++++++++++++++++++ repos/gems/recipes/raw/drivers_nic-pc/hash | 1 + tool/run/depot.inc | 9 ++ 7 files changed, 111 insertions(+) create mode 100644 repos/gems/recipes/pkg/drivers_nic-pc/README create mode 100644 repos/gems/recipes/pkg/drivers_nic-pc/archives create mode 100644 repos/gems/recipes/pkg/drivers_nic-pc/hash create mode 100644 repos/gems/recipes/raw/drivers_nic-pc/content.mk create mode 100644 repos/gems/recipes/raw/drivers_nic-pc/drivers.config create mode 100644 repos/gems/recipes/raw/drivers_nic-pc/hash diff --git a/repos/gems/recipes/pkg/drivers_nic-pc/README b/repos/gems/recipes/pkg/drivers_nic-pc/README new file mode 100644 index 000000000..b9ad93851 --- /dev/null +++ b/repos/gems/recipes/pkg/drivers_nic-pc/README @@ -0,0 +1,3 @@ + + Device drivers needed for scenarios + using one network interface diff --git a/repos/gems/recipes/pkg/drivers_nic-pc/archives b/repos/gems/recipes/pkg/drivers_nic-pc/archives new file mode 100644 index 000000000..f1cf2b2dd --- /dev/null +++ b/repos/gems/recipes/pkg/drivers_nic-pc/archives @@ -0,0 +1,5 @@ +_/src/platform_drv +_/src/acpi_drv +_/src/ipxe_nic_drv +_/src/report_rom +_/raw/drivers_nic-pc diff --git a/repos/gems/recipes/pkg/drivers_nic-pc/hash b/repos/gems/recipes/pkg/drivers_nic-pc/hash new file mode 100644 index 000000000..ddbbcdab3 --- /dev/null +++ b/repos/gems/recipes/pkg/drivers_nic-pc/hash @@ -0,0 +1 @@ +2018-12-05-b d6acbeba299077297d9fc83585d0718401ad9643 diff --git a/repos/gems/recipes/raw/drivers_nic-pc/content.mk b/repos/gems/recipes/raw/drivers_nic-pc/content.mk new file mode 100644 index 000000000..f71fe5d70 --- /dev/null +++ b/repos/gems/recipes/raw/drivers_nic-pc/content.mk @@ -0,0 +1,4 @@ +content: drivers.config + +drivers.config: + cp $(REP_DIR)/recipes/raw/drivers_nic-pc/$@ $@ diff --git a/repos/gems/recipes/raw/drivers_nic-pc/drivers.config b/repos/gems/recipes/raw/drivers_nic-pc/drivers.config new file mode 100644 index 000000000..077fec395 --- /dev/null +++ b/repos/gems/recipes/raw/drivers_nic-pc/drivers.config @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/repos/gems/recipes/raw/drivers_nic-pc/hash b/repos/gems/recipes/raw/drivers_nic-pc/hash new file mode 100644 index 000000000..2fe9f3ee4 --- /dev/null +++ b/repos/gems/recipes/raw/drivers_nic-pc/hash @@ -0,0 +1 @@ +2018-12-05-b 5f48eb1f86f6fc5eb0e27541b24324c2642edc65 diff --git a/tool/run/depot.inc b/tool/run/depot.inc index 72b8c1b23..de3cb1beb 100644 --- a/tool/run/depot.inc +++ b/tool/run/depot.inc @@ -408,3 +408,12 @@ proc drivers_interactive_pkg { } { puts stderr "drivers_interactive package undefined for this build configuration" exit 1 } + + +proc drivers_nic_pkg { } { + + if {[have_spec x86] && ![have_spec linux]} { return drivers_nic-pc } + + puts stderr "drivers_nic package undefined for this build configuration" + exit 1 +}