diff options
author | Glenn L McGrath | 2002-11-11 06:21:00 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-11-11 06:21:00 +0000 |
commit | 545106f8db3e9e40d454a8713e713b0741739b23 (patch) | |
tree | c5a1aa31cac00d7bd5bcfa466374ff746764f3f2 /editors/Makefile.in | |
parent | 8f0722a53b9a88c0b4e60b79e4362d0f31c32c54 (diff) | |
download | busybox-545106f8db3e9e40d454a8713e713b0741739b23.zip busybox-545106f8db3e9e40d454a8713e713b0741739b23.tar.gz |
Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown.
Diffstat (limited to 'editors/Makefile.in')
-rw-r--r-- | editors/Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/Makefile.in b/editors/Makefile.in index 88c7589..f4f604e 100644 --- a/editors/Makefile.in +++ b/editors/Makefile.in @@ -23,6 +23,7 @@ EDITOR_DIR:=$(TOPDIR)editors/ endif EDITOR-y:= +EDITOR-$(CONFIG_AWK) += awk.o EDITOR-$(CONFIG_SED) += sed.o EDITOR-$(CONFIG_VI) += vi.o EDITOR_SRC:= $(EDITOR-y) @@ -30,6 +31,13 @@ EDITOR_OBJ:= $(patsubst %.c,$(EDITOR_DIR)%.o, $(EDITOR_SRC)) libraries-y+=$(EDITOR_DIR)$(EDITOR_AR) +needlibm-y:= +needlibm-$(CONFIG_FEATURE_AWK_MATH) := y + +ifeq ($(needlibm-y),y) + LIBRARIES += -lm +endif + $(EDITOR_DIR)$(EDITOR_AR): $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) $(AR) -ro $@ $(patsubst %,$(EDITOR_DIR)%, $(EDITOR-y)) |