- remove unused lists *-m

This commit is contained in:
Bernhard Reutner-Fischer 2006-03-02 18:23:13 +00:00
parent c8e278f54b
commit e3ec99de82
6 changed files with 2 additions and 14 deletions

View File

@ -243,9 +243,8 @@ endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
# depending on it.
DIRS_UPPER:=$(shell echo $(DIRS) | $(SED) 'h;y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/')
# First populate the variables ..._OBJ-y ...OBJ-m et al
# First populate the variables ..._OBJ-y et al
$(foreach d,$(DIRS_UPPER),$(eval $(notdir $(d))-y:=))
$(foreach d,$(DIRS_UPPER),$(eval $(notdir $(d))-m:=))
include $(patsubst %,%/Makefile.in,$(SRC_DIRS))

View File

@ -78,7 +78,6 @@ COREUTILS-$(CONFIG_WHOAMI) += whoami.o
COREUTILS-$(CONFIG_YES) += yes.o
COREUTILS-y:=$(sort $(COREUTILS-y))
COREUTILS-m:=$(sort $(COREUTILS-m))
COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y))
COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)

View File

@ -45,7 +45,7 @@ LIBBB-$(CONFIG_SU)+= correct_password.c
LIBBB-$(CONFIG_LOGIN)+= correct_password.c
LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y) $(LIBBB-m))
LIBBB-y:=$(patsubst %,$(srcdir)/%,$(LIBBB-y))
# 1:N objects
LIBBB_MSRC0:=$(srcdir)/messages.c

View File

@ -30,9 +30,6 @@ needcrypt-$(CONFIG_PASSWD) := y
needcrypt-$(CONFIG_SU) := y
needcrypt-$(CONFIG_SULOGIN) := y
needcrypt-$(CONFIG_VLOCK) := y
ifeq ($(needcrypt-m),y)
needcrypt-y:=y
endif
ifeq ($(needcrypt-y),y)
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
endif

View File

@ -29,9 +29,6 @@ MISCUTILS-$(CONFIG_WATCHDOG) += watchdog.o
needlibm-y:=
needlibm-$(CONFIG_DC) := y
ifeq ($(needlibm-m),y)
needlibm-y:=y
endif
ifeq ($(needlibm-y),y)
LIBRARIES := $(filter-out -lm,$(LIBRARIES)) -lm
endif

View File

@ -40,13 +40,9 @@ NETWORKING-$(CONFIG_WGET) += wget.o
NETWORKING-$(CONFIG_ZCIP) += zcip.o
NETWORKING-y:=$(sort $(NETWORKING-y))
NETWORKING-m:=$(sort $(NETWORKING-m))
needcrypt-y:=
needcrypt-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) := y
ifeq ($(needcrypt-m),y)
needcrypt-y:=y
endif
ifeq ($(needcrypt-y),y)
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
endif