diff options
author | Bernhard Reutner-Fischer | 2006-01-15 14:04:57 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-01-15 14:04:57 +0000 |
commit | 7ca61b6f3379bf66b446617b8834d92c13b366dd (patch) | |
tree | c0aaacfeb97a9bc74e73f8ff36ecbf1fd173808b /init | |
parent | 8c9daa12dcb4c1aa8f0f475896c9cfbcfb38370d (diff) | |
download | busybox-7ca61b6f3379bf66b446617b8834d92c13b366dd.zip busybox-7ca61b6f3379bf66b446617b8834d92c13b366dd.tar.gz |
- shared libbusybox.
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..
Diffstat (limited to 'init')
-rw-r--r-- | init/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/init/Makefile.in b/init/Makefile.in index 5b3d9ea..02d3794 100644 --- a/init/Makefile.in +++ b/init/Makefile.in @@ -17,16 +17,16 @@ INIT-$(CONFIG_MESG) += mesg.o INIT-$(CONFIG_POWEROFF) += poweroff.o INIT-$(CONFIG_REBOOT) += reboot.o -ifeq ($(CONFIG_HALT), y) +ifeq ($(strip $(CONFIG_HALT)),y) CONFIG_INIT_SHARED=y else -ifeq ($(CONFIG_INIT), y) +ifeq ($(strip $(CONFIG_INIT)),y) CONFIG_INIT_SHARED=y else -ifeq ($(CONFIG_POWEROFF), y) +ifeq ($(strip $(CONFIG_POWEROFF)),y) CONFIG_INIT_SHARED=y else -ifeq ($(CONFIG_REBOOT), y) +ifeq ($(strip $(CONFIG_REBOOT)),y) CONFIG_INIT_SHARED=y else CONFIG_INIT_SHARED=n @@ -35,12 +35,17 @@ endif endif endif -ifeq ($(CONFIG_INIT_SHARED), y) +ifeq ($(strip $(CONFIG_INIT_SHARED)),y) INIT-$(CONFIG_INIT_SHARED) += init_shared.o endif libraries-y+=$(INIT_DIR)$(INIT_AR) +INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) +INIT_SRC-a:=$(wildcard $(srcdir)/*.c) +APPLET_SRC-y+=$(INIT_SRC-y) +APPLET_SRC-a+=$(INIT_SRC-a) + $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) $(AR) $(ARFLAGS) $@ $(patsubst %,$(INIT_DIR)%, $(INIT-y)) |