diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-06-27 21:08:15 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-06-27 21:08:15 +0400 |
commit | b01ed65ad2e46fc7747010b16e53b3a9e1a7c23a (patch) | |
tree | 2988261cdc1078ca34f71822d101aab5b482df43 /init/Makefile.in | |
parent | 0b0d393347a2f4444a49afa32491068ac92cbfa3 (diff) |
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
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 INIT-$(CONFIG_REBOOT) += reboot.o INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o +ifeq ($(CONFIG_HALT), y) +CONFIG_INIT_SHARED=y +else +ifeq ($(CONFIG_INIT), y) +CONFIG_INIT_SHARED=y +else +ifeq ($(CONFIG_POWEROFF), y) +CONFIG_INIT_SHARED=y +else +ifeq ($(CONFIG_REBOOT), y) +CONFIG_INIT_SHARED=y +else +CONFIG_INIT_SHARED=n +endif +endif +endif +endif + +ifeq ($(CONFIG_INIT_SHARED), y) +INIT-$(CONFIG_INIT_SHARED) += init_shared.o +endif + libraries-y+=$(INIT_DIR)$(INIT_AR) $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) |