Commit Graph

13 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
07000300ab userland: support arch specific examples 2018-11-20 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
26b890f42f Factor common userland and baremetal C functions
This allows add.c to run unmodified on both!

For that to work, use int main on baremetal, and pass the return value to
the final exit.
2018-11-15 20:07:47 +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 六四事件 法轮功
4f47491482 userland: make uber awesome with --baremetal-like executable resolution 2018-10-30 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
873737bd1f virt_to_phys: fix multiple read size
build-buildroot: add --make-args
2018-10-30 23:00:01 +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 六四事件 法轮功
23a9d767ba build-buildroot twice, and split build-m5 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 六四事件 法轮功
76b486c274 Build userland examples separately 2018-10-12 09:30:33 +01:00