18 Commits

Author SHA1 Message Date
fa1e4ffa7d run kind of runs 2018-12-09 00:00:01 +00:00
5e20ba833b build-linux and build-gem5 seem to work 2018-12-09 00:00:00 +00:00
1768421dbd args -> kwargs 2018-12-08 00:00:01 +00:00
33af564899 bak 2018-12-08 00:00:00 +00:00
72167f9f68 bring a minimal buildroot kernel modules example to life
More importantly, to make modules_install on the Linux kernel build.
2018-11-05 00:00:00 +00:00
8fb9db3931 manually encode newlines on all printed commands
This way we group key value arguments: e.g.:

    make \
    -j 8 \
    all

instead of:

    make \
    -j \
    8 \
    all

and reach CLI nirvana, while also subtly breaking several commands due to
lack of testing.
2018-11-04 00:00:01 +00:00
6bfb5221d1 userland: make --host awesome 2018-10-31 19:00:05 +00:00
65a103d6c1 host kernel module works 2018-10-31 23:00:01 +00:00
e267435f6a fix most of GDB and remove most kernel_modules- references 2018-10-29 00:00:00 +00:00
ca231b82f6 get rid of lkmc package, move userland and kernel-modules to top
Rationale: we already had a non buildroot build system,
maintaining both will be hard, and having short paths is more awesome.
2018-10-25 00:00:02 +00:00
3980974e91 common: factor -j --nproc to all builds 2018-10-23 00:00:02 +00:00
4b99e522dd common.run_cmd: assert result == 0 by default 2018-10-23 09:58:30 +01:00
4cd9c533b8 move all builds to components 2018-10-23 09:58:30 +01:00
2a77df690c common: create a Component class to factor out builds
Not yet finished factoring, but half way there, do for all build-
2018-10-18 00:00:00 +00:00
dae60aa248 modules: rename packages/kernel_modules to packages/lkmc
Then inside, split packages/lkmc into kernel_modules and userland,
to keep userland out of the kernel_modules parent path, which makes no
sense.

Copy built modules and userland to the output rootfs overlay.

Document Linux distro tradeoffs.
2018-10-12 09:30:33 +01:00
2cf0277998 separate docker build 2018-10-12 09:30:33 +01:00
76b486c274 Build userland examples separately 2018-10-12 09:30:33 +01:00
bc73cebff1 Build the Linux kernel independently from Buildroot
This will allow for other types of root filesystems that don't rely on Buildroot
to be added and used in the future.

Propagate --verbose on all build scripts to see full GCC commands.

build-all: allow for neat subsets

also 9p share rootfs_overlay. TODO document.
2018-10-12 09:30:33 +01:00