target

package
v0.1.0-24-ga60fd7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2022 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command []string

type TargetConfig

type TargetConfig struct {
	component.ComponentConfig

	Architecture arch.ArchitectureConfig `yaml:",omitempty" json:"architecture,omitempty"`
	Platform     plat.PlatformConfig     `yaml:",omitempty" json:"platform,omitempty"`
	Format       string                  `yaml:",omitempty" json:"format,omitempty"`
	Kernel       string                  `yaml:",omitempty" json:"kernel,omitempty"`
	KernelDbg    string                  `yaml:",omitempty" json:"kerneldbg,omitempty"`
	Initrd       *initrd.InitrdConfig    `yaml:",omitempty" json:"initrd,omitempty"`
	Command      []string                `yaml:",omitempty" json:"commands"`

	Extensions map[string]interface{} `yaml:",inline" json:"-"`
}

func (*TargetConfig) ArchPlatString

func (tc *TargetConfig) ArchPlatString() string

ArchPlatString returns the canonical name for platform architecture string combination

func (TargetConfig) Component

func (tc TargetConfig) Component() component.ComponentConfig

func (TargetConfig) KConfigMenu

func (tc TargetConfig) KConfigMenu() (*kconfig.KConfigFile, error)

func (TargetConfig) KConfigValues

func (tc TargetConfig) KConfigValues() (kconfig.KConfigValues, error)

func (TargetConfig) Name

func (tc TargetConfig) Name() string

func (TargetConfig) PrintInfo

func (tc TargetConfig) PrintInfo(io *iostreams.IOStreams) error

func (TargetConfig) Source

func (tc TargetConfig) Source() string

func (TargetConfig) Type

func (TargetConfig) Version

func (tc TargetConfig) Version() string

type Targets

type Targets []TargetConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL