Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/Kbuild
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File size: 926 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File size: 926 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | # |
2 | # Kbuild file for kinit |
3 | # |
4 | |
5 | # library part of kinit. Is used by programs in sub-directories (resume et al) |
6 | lib-y := name_to_dev.o devname.o getarg.o |
7 | # use lib for kinit |
8 | kinit-y := lib.a |
9 | |
10 | kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o |
11 | kinit-y += getintfile.o readfile.o xpio.o |
12 | kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o |
13 | |
14 | kinit-y += ipconfig/ |
15 | kinit-y += nfsmount/ |
16 | kinit-y += run-init/ |
17 | kinit-y += fstype/ |
18 | kinit-y += resume/ |
19 | |
20 | static-y := kinit |
21 | shared-y := kinit.shared |
22 | kinit.shared-y := $(kinit-y) |
23 | |
24 | # Additional include paths files |
25 | KLIBCCFLAGS += -I$(srctree)/$(src)/fstype \ |
26 | -I$(srctree)/$(src)/ipconfig \ |
27 | -I$(srctree)/$(src)/nfsmount \ |
28 | -I$(srctree)/$(src)/resume \ |
29 | -I$(srctree)/$(src)/run-init |
30 | |
31 | # Cleaning |
32 | targets += kinit kinit.g kinit.shared kinit.shared.g |
33 | subdir- := fstype ipconfig nfsmount resume run-init |
34 | |
35 | |
36 | # install binary |
37 | install-y := kinit kinit.shared |