mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build: spelling!
This commit is contained in:
16
build
16
build
@@ -13,11 +13,11 @@ from shell_helpers import LF
|
|||||||
class _Component:
|
class _Component:
|
||||||
'''
|
'''
|
||||||
Yes, we are re-inventing a crappy dependency resolution system,
|
Yes, we are re-inventing a crappy dependency resolution system,
|
||||||
reminescent of scons or apt or Buildroot. I can't believe it.
|
reminiscent of scons or apt or Buildroot. I can't believe it.
|
||||||
|
|
||||||
The hard part is that we have optional dependencies as well...
|
The hard part is that we have optional dependencies as well...
|
||||||
e.g. buildroot optionally depends on m5 to put m5 in the root filesystem,
|
e.g. Buildroot optionally depends on m5 to put m5 in the root filesystem,
|
||||||
and buildroot optionally depends on qemu to build the qcow2 version
|
and Buildroot optionally depends on QEMU to build the qcow2 version
|
||||||
of the image.
|
of the image.
|
||||||
'''
|
'''
|
||||||
def __init__(
|
def __init__(
|
||||||
@@ -58,7 +58,7 @@ Build a component and all its dependencies.
|
|||||||
Our build-* scripts don't build any dependencies to make iterative
|
Our build-* scripts don't build any dependencies to make iterative
|
||||||
development fast and more predictable.
|
development fast and more predictable.
|
||||||
|
|
||||||
It is currently not possible to configure indivitual components from the command line
|
It is currently not possible to configure individual components from the command line
|
||||||
when you build with this script. TODO.
|
when you build with this script. TODO.
|
||||||
|
|
||||||
Without any args, build only what is necessary for:
|
Without any args, build only what is necessary for:
|
||||||
@@ -80,10 +80,10 @@ Another important target is `all`:
|
|||||||
./%(prog)s all
|
./%(prog)s all
|
||||||
....
|
....
|
||||||
|
|
||||||
This does not trully build ALL configurations: that would be impractical.
|
This does not truly build ALL configurations: that would be impractical.
|
||||||
But more precisely: build the reference configuration of each major component.
|
But more precisely: build the reference configuration of each major component.
|
||||||
|
|
||||||
So e.g.: one config of Linux kenrel, Buildroot, gem5 and qemu.
|
So e.g.: one config of Linux kernel, Buildroot, gem5 and QEMU.
|
||||||
Don't do for example all possible gem5 configs: debug, opt and fast,
|
Don't do for example all possible gem5 configs: debug, opt and fast,
|
||||||
as that would be huge. This ensures that every piece of software
|
as that would be huge. This ensures that every piece of software
|
||||||
builds in at least one config.
|
builds in at least one config.
|
||||||
@@ -95,7 +95,7 @@ TODO looping over emulators is not currently supported by this script, e.g.:
|
|||||||
....
|
....
|
||||||
|
|
||||||
Instead, for the targets that are emulator dependent, you must select the
|
Instead, for the targets that are emulator dependent, you must select the
|
||||||
taret version for the desired emulatore, e.g.:
|
taret version for the desired emulator, e.g.:
|
||||||
|
|
||||||
....
|
....
|
||||||
./build --arch aarch64 baremetal-qemu baremetal-gem5
|
./build --arch aarch64 baremetal-qemu baremetal-gem5
|
||||||
@@ -194,7 +194,7 @@ so looping over all of them would waste time.
|
|||||||
dependencies=['crosstool-ng'],
|
dependencies=['crosstool-ng'],
|
||||||
),
|
),
|
||||||
'buildroot': buildroot_component,
|
'buildroot': buildroot_component,
|
||||||
# We need those to avoid cirtulcar dependencies, since we need to run Buildroot
|
# We need those to avoid circular dependencies, since we need to run Buildroot
|
||||||
# twice: once to get the toolchain, and a second time to put the overlay into
|
# twice: once to get the toolchain, and a second time to put the overlay into
|
||||||
# the root filesystem.
|
# the root filesystem.
|
||||||
'buildroot-overlay-qemu': buildroot_overlay_qemu_component,
|
'buildroot-overlay-qemu': buildroot_overlay_qemu_component,
|
||||||
|
|||||||
Reference in New Issue
Block a user