diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-06-27 17:08:15 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-06-27 17:08:15 +0000 |
commit | 2734533491d99fc7628492f88f560c0f08ccdafe (patch) | |
tree | 2988261cdc1078ca34f71822d101aab5b482df43 /init/Makefile.in | |
parent | 0196e2600734d0c1deb4807b0d545a562537bc80 (diff) | |
download | busybox-w32-2734533491d99fc7628492f88f560c0f08ccdafe.tar.gz busybox-w32-2734533491d99fc7628492f88f560c0f08ccdafe.tar.bz2 busybox-w32-2734533491d99fc7628492f88f560c0f08ccdafe.zip |
Apply last_patch93 from vodz:
andersen@busybox.net wrote:
>Message: 4
>Modified Files:
> init.c
>Log Message:
>Remove code for unsupported kernel versions
Hmm. Current init.c have check >= 2.2.0 kernel one time too.
Ok. Last patch removed this point and move common init code to new file for
/init dir
git-svn-id: svn://busybox.net/trunk/busybox@7008 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init/Makefile.in')
-rw-r--r-- | init/Makefile.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/init/Makefile.in b/init/Makefile.in index 9e2f4bcf7..1eee3d18a 100644 --- a/init/Makefile.in +++ b/init/Makefile.in | |||
@@ -33,6 +33,28 @@ INIT-$(CONFIG_POWEROFF) += poweroff.o | |||
33 | INIT-$(CONFIG_REBOOT) += reboot.o | 33 | INIT-$(CONFIG_REBOOT) += reboot.o |
34 | INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o | 34 | INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o |
35 | 35 | ||
36 | ifeq ($(CONFIG_HALT), y) | ||
37 | CONFIG_INIT_SHARED=y | ||
38 | else | ||
39 | ifeq ($(CONFIG_INIT), y) | ||
40 | CONFIG_INIT_SHARED=y | ||
41 | else | ||
42 | ifeq ($(CONFIG_POWEROFF), y) | ||
43 | CONFIG_INIT_SHARED=y | ||
44 | else | ||
45 | ifeq ($(CONFIG_REBOOT), y) | ||
46 | CONFIG_INIT_SHARED=y | ||
47 | else | ||
48 | CONFIG_INIT_SHARED=n | ||
49 | endif | ||
50 | endif | ||
51 | endif | ||
52 | endif | ||
53 | |||
54 | ifeq ($(CONFIG_INIT_SHARED), y) | ||
55 | INIT-$(CONFIG_INIT_SHARED) += init_shared.o | ||
56 | endif | ||
57 | |||
36 | libraries-y+=$(INIT_DIR)$(INIT_AR) | 58 | libraries-y+=$(INIT_DIR)$(INIT_AR) |
37 | 59 | ||
38 | $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) | 60 | $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) |