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 0000000000..b9ad938515 --- /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 0000000000..f1cf2b2ddf --- /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 0000000000..ddbbcdab39 --- /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 0000000000..f71fe5d70c --- /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 0000000000..077fec3952 --- /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 0000000000..2fe9f3ee4b --- /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 72b8c1b237..de3cb1bebd 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 +}