14 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
6bfb5221d1 userland: make --host awesome 2018-10-31 19:00:05 +00:00
Ciro Santilli 六四事件 法轮功
65a103d6c1 host kernel module works 2018-10-31 23:00:01 +00:00
Ciro Santilli 六四事件 法轮功
e267435f6a fix most of GDB and remove most kernel_modules- references 2018-10-29 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
3980974e91 common: factor -j --nproc to all builds 2018-10-23 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
4b99e522dd common.run_cmd: assert result == 0 by default 2018-10-23 09:58:30 +01:00
Ciro Santilli 六四事件 法轮功
4cd9c533b8 move all builds to components 2018-10-23 09:58:30 +01:00
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
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
Ciro Santilli 六四事件 法轮功
2cf0277998 separate docker build 2018-10-12 09:30:33 +01:00
Ciro Santilli 六四事件 法轮功
76b486c274 Build userland examples separately 2018-10-12 09:30:33 +01:00
Ciro Santilli 六四事件 法轮功
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