• Charlie Jacobsen's avatar
    Major overhaul of build process. · 8198c2fb
    Charlie Jacobsen authored
    Full kernel build no longer required. Yay! This should
    cut down on dev time a lot.
    
    I moved all of the LCD source into $(kernel-src)/lcd-domains/,
    so it's all in one spot. There is now a top-level makefile in
    there that triggers building liblcd, the microkernel, and the
    examples. This is built as an *external* build now, even
    though the directory is in the kernel source. The build now takes
    under a minute to do everything LCD related.
    
    This should also make verification easier in the future (e.g.
    building with clang) if we aren't ensnared in the kernel
    source.
    
    Of course, to use the microkernel and examples, you have to
    build the patched kernel and install it. But now when you
    make a few lines of changes in e.g. an example, you don't have
    to trigger a top-level kernel build to rebuild it. Running
    the full kernel build takes on average about 3 - 4 minutes
    (some files are generated everytime, linking is done, and so
    on), and can take upwards of 30 minutes for a full build if you
    re-config'd.
    
    Which brings me to my other change: no more config for LCDs
    in menuconfig. If we create menu entries for every example
    and so on, we end up changing the config too often, and this
    triggers full kernel rebuilds == waste of time. We can use
    macros by setting them via compiler flags (e.g., -DSOME_FLAG).
    Furthermore, it wasn't making sense to me to do conditional
    compilation for LCD support (we always want to compile for that).
    Yes, changes aren't clearly delineated with macros, but you can
    see changes made by just doing 'git diff v3.10.14 some-file-or-dir'.
    
    The wiki has been fully updated with instructions for building,
    and other relevant parts (updated paths to files).
    
    I also took the opportunity to clean up some old stuff lying around
    that is dead (like lcdguest). I incorporated all of the documentation
    in Documentation/lcd-domains into the wiki so it's all in one
    spot now (including some helpful debug tips).
    8198c2fb
Name
Last commit
Last update
..
bpf Loading commit data...
configs Loading commit data...
debug Loading commit data...
events Loading commit data...
gcov Loading commit data...
irq Loading commit data...
livepatch Loading commit data...
locking Loading commit data...
power Loading commit data...
printk Loading commit data...
rcu Loading commit data...
sched Loading commit data...
time Loading commit data...
trace Loading commit data...
.gitignore Loading commit data...
Kconfig.freezer Loading commit data...
Kconfig.hz Loading commit data...
Kconfig.locks Loading commit data...
Kconfig.preempt Loading commit data...
Makefile Loading commit data...
acct.c Loading commit data...
async.c Loading commit data...
audit.c Loading commit data...
audit.h Loading commit data...
audit_fsnotify.c Loading commit data...
audit_tree.c Loading commit data...
audit_watch.c Loading commit data...
auditfilter.c Loading commit data...
auditsc.c Loading commit data...
backtracetest.c Loading commit data...
bounds.c Loading commit data...
capability.c Loading commit data...
cgroup.c Loading commit data...
cgroup_freezer.c Loading commit data...
cgroup_pids.c Loading commit data...
compat.c Loading commit data...
configs.c Loading commit data...
context_tracking.c Loading commit data...
cpu.c Loading commit data...
cpu_pm.c Loading commit data...
cpuset.c Loading commit data...
crash_dump.c Loading commit data...
cred.c Loading commit data...
delayacct.c Loading commit data...
dma.c Loading commit data...
elfcore.c Loading commit data...
exec_domain.c Loading commit data...
exit.c Loading commit data...
extable.c Loading commit data...
fork.c Loading commit data...
freezer.c Loading commit data...
futex.c Loading commit data...
futex_compat.c Loading commit data...
groups.c Loading commit data...
hung_task.c Loading commit data...
irq_work.c Loading commit data...
jump_label.c Loading commit data...
kallsyms.c Loading commit data...
kcmp.c Loading commit data...
kcov.c Loading commit data...
kexec.c Loading commit data...
kexec_core.c Loading commit data...
kexec_file.c Loading commit data...
kexec_internal.h Loading commit data...
kmod.c Loading commit data...
kprobes.c Loading commit data...
ksysfs.c Loading commit data...
kthread.c Loading commit data...
latencytop.c Loading commit data...
membarrier.c Loading commit data...
memremap.c Loading commit data...
module-internal.h Loading commit data...
module.c Loading commit data...
module_signing.c Loading commit data...
notifier.c Loading commit data...
nsproxy.c Loading commit data...
padata.c Loading commit data...
panic.c Loading commit data...
params.c Loading commit data...
pid.c Loading commit data...
pid_namespace.c Loading commit data...
profile.c Loading commit data...
ptrace.c Loading commit data...
range.c Loading commit data...
reboot.c Loading commit data...
relay.c Loading commit data...
resource.c Loading commit data...
seccomp.c Loading commit data...
signal.c Loading commit data...
smp.c Loading commit data...
smpboot.c Loading commit data...
smpboot.h Loading commit data...
softirq.c Loading commit data...
stacktrace.c Loading commit data...
stop_machine.c Loading commit data...
sys.c Loading commit data...
sys_ni.c Loading commit data...
sysctl.c Loading commit data...
sysctl_binary.c Loading commit data...
task_work.c Loading commit data...
taskstats.c Loading commit data...
test_kprobes.c Loading commit data...
torture.c Loading commit data...
tracepoint.c Loading commit data...
tsacct.c Loading commit data...
uid16.c Loading commit data...
up.c Loading commit data...
user-return-notifier.c Loading commit data...
user.c Loading commit data...
user_namespace.c Loading commit data...
utsname.c Loading commit data...
utsname_sysctl.c Loading commit data...
watchdog.c Loading commit data...
workqueue.c Loading commit data...
workqueue_internal.h Loading commit data...