Rusty Russell | 709e892 | 2007-07-19 01:49:27 -0700 | [diff] [blame] | 1 | # Guest requires the paravirt_ops replacement and the bus driver. |
| 2 | obj-$(CONFIG_LGUEST_GUEST) += lguest.o lguest_asm.o lguest_bus.o |
| 3 | |
| 4 | # Host requires the other files, which can be a module. |
| 5 | obj-$(CONFIG_LGUEST) += lg.o |
| 6 | lg-y := core.o hypercalls.o page_tables.o interrupts_and_traps.o \ |
| 7 | segments.o io.o lguest_user.o switcher.o |
Rusty Russell | f938d2c | 2007-07-26 10:41:02 -0700 | [diff] [blame] | 8 | |
| 9 | Preparation Preparation!: PREFIX=P |
| 10 | Guest: PREFIX=G |
| 11 | Drivers: PREFIX=D |
| 12 | Launcher: PREFIX=L |
| 13 | Host: PREFIX=H |
| 14 | Switcher: PREFIX=S |
| 15 | Mastery: PREFIX=M |
| 16 | Beer: |
| 17 | @for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}" |
| 18 | Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery: |
| 19 | @sh ../../Documentation/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'` |