Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/run-init/Kbuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 815 - (show annotations) (download)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File size: 665 byte(s)
-updated to klibc-1.5.15
1 #
2 # Kbuild file for run-init
3 #
4
5 static-y := static/run-init
6 shared-y := shared/run-init
7
8 # common .o files
9 objs := run-init.o runinitlib.o
10
11 # TODO - do we want a stripped version
12 # TODO - do we want the static.g + shared.g directories?
13
14 # Create built-in.o with all object files (used by kinit)
15 lib-y := $(objs)
16
17 # force run-init to not have an executable stack (to keep READ_IMPLIES_EXEC
18 # personality(2) flag from getting set and passed to init).
19 EXTRA_KLIBCLDFLAGS += -z noexecstack
20
21 # .o files used to built executables
22 static/run-init-y := $(objs)
23 shared/run-init-y := $(objs)
24
25 # Cleaning
26 clean-dirs := static shared
27
28 # install binary
29 install-y := $(shared-y)