Skip to content

Commit 84bc85c

Browse files
committed
Remove support for bootstrapping non-toolchains and systems
This isn't used if there are no host tools.
1 parent 3aceafe commit 84bc85c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/nerves/env.ex

-14
Original file line numberDiff line numberDiff line change
@@ -362,20 +362,6 @@ defmodule Nerves.Env do
362362
# Export nerves package env variables
363363
Enum.each(packages, &export_package_env/1)
364364

365-
# Bootstrap all other packages who define a platform
366-
toolchain_package = Nerves.Env.toolchain()
367-
system_package = Nerves.Env.system()
368-
369-
packages
370-
|> Enum.reject(&(&1 == toolchain_package or &1 == system_package or &1.platform == nil))
371-
|> Enum.each(fn
372-
%{platform: platform} = pkg ->
373-
platform.bootstrap(pkg)
374-
375-
_ ->
376-
:noop
377-
end)
378-
379365
System.put_env("NERVES_ENV_BOOTSTRAP", "1")
380366
end
381367

0 commit comments

Comments
 (0)