- remove unused lists *-m
This commit is contained in:
parent
c8e278f54b
commit
e3ec99de82
3
Makefile
3
Makefile
@ -243,9 +243,8 @@ endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
|
|||||||
# depending on it.
|
# depending on it.
|
||||||
DIRS_UPPER:=$(shell echo $(DIRS) | $(SED) 'h;y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/')
|
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))-y:=))
|
||||||
$(foreach d,$(DIRS_UPPER),$(eval $(notdir $(d))-m:=))
|
|
||||||
|
|
||||||
include $(patsubst %,%/Makefile.in,$(SRC_DIRS))
|
include $(patsubst %,%/Makefile.in,$(SRC_DIRS))
|
||||||
|
|
||||||
|
@ -78,7 +78,6 @@ COREUTILS-$(CONFIG_WHOAMI) += whoami.o
|
|||||||
COREUTILS-$(CONFIG_YES) += yes.o
|
COREUTILS-$(CONFIG_YES) += yes.o
|
||||||
|
|
||||||
COREUTILS-y:=$(sort $(COREUTILS-y))
|
COREUTILS-y:=$(sort $(COREUTILS-y))
|
||||||
COREUTILS-m:=$(sort $(COREUTILS-m))
|
|
||||||
|
|
||||||
COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y))
|
COREUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(COREUTILS-y))
|
||||||
COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
COREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
||||||
|
@ -45,7 +45,7 @@ LIBBB-$(CONFIG_SU)+= correct_password.c
|
|||||||
LIBBB-$(CONFIG_LOGIN)+= 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
|
# 1:N objects
|
||||||
LIBBB_MSRC0:=$(srcdir)/messages.c
|
LIBBB_MSRC0:=$(srcdir)/messages.c
|
||||||
|
@ -30,9 +30,6 @@ needcrypt-$(CONFIG_PASSWD) := y
|
|||||||
needcrypt-$(CONFIG_SU) := y
|
needcrypt-$(CONFIG_SU) := y
|
||||||
needcrypt-$(CONFIG_SULOGIN) := y
|
needcrypt-$(CONFIG_SULOGIN) := y
|
||||||
needcrypt-$(CONFIG_VLOCK) := y
|
needcrypt-$(CONFIG_VLOCK) := y
|
||||||
ifeq ($(needcrypt-m),y)
|
|
||||||
needcrypt-y:=y
|
|
||||||
endif
|
|
||||||
ifeq ($(needcrypt-y),y)
|
ifeq ($(needcrypt-y),y)
|
||||||
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
|
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
|
||||||
endif
|
endif
|
||||||
|
@ -29,9 +29,6 @@ MISCUTILS-$(CONFIG_WATCHDOG) += watchdog.o
|
|||||||
|
|
||||||
needlibm-y:=
|
needlibm-y:=
|
||||||
needlibm-$(CONFIG_DC) := y
|
needlibm-$(CONFIG_DC) := y
|
||||||
ifeq ($(needlibm-m),y)
|
|
||||||
needlibm-y:=y
|
|
||||||
endif
|
|
||||||
ifeq ($(needlibm-y),y)
|
ifeq ($(needlibm-y),y)
|
||||||
LIBRARIES := $(filter-out -lm,$(LIBRARIES)) -lm
|
LIBRARIES := $(filter-out -lm,$(LIBRARIES)) -lm
|
||||||
endif
|
endif
|
||||||
|
@ -40,13 +40,9 @@ NETWORKING-$(CONFIG_WGET) += wget.o
|
|||||||
NETWORKING-$(CONFIG_ZCIP) += zcip.o
|
NETWORKING-$(CONFIG_ZCIP) += zcip.o
|
||||||
|
|
||||||
NETWORKING-y:=$(sort $(NETWORKING-y))
|
NETWORKING-y:=$(sort $(NETWORKING-y))
|
||||||
NETWORKING-m:=$(sort $(NETWORKING-m))
|
|
||||||
|
|
||||||
needcrypt-y:=
|
needcrypt-y:=
|
||||||
needcrypt-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) := y
|
needcrypt-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) := y
|
||||||
ifeq ($(needcrypt-m),y)
|
|
||||||
needcrypt-y:=y
|
|
||||||
endif
|
|
||||||
ifeq ($(needcrypt-y),y)
|
ifeq ($(needcrypt-y),y)
|
||||||
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
|
LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user