build: Move setting of SRC_DIR to the only place it is used

This commit is contained in:
Diego Biurrun 2013-03-01 19:52:32 +01:00
parent b4d24b471b
commit 7c22d0489f
2 changed files with 1 additions and 2 deletions

View File

@ -27,6 +27,7 @@ HEADERS += $(HEADERS-yes)
DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
SRC_DIR := $(SRC_PATH)/lib$(NAME)
ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))
SKIPHEADERS += $(ARCH_HEADERS:%=$(ARCH)/%) $(SKIPHEADERS-)
SKIPHEADERS := $(SKIPHEADERS:%=$(SUBDIR)%)

View File

@ -1,5 +1,3 @@
SRC_DIR := $(SRC_PATH)/lib$(NAME)
include $(SRC_PATH)/common.mak
LIBVERSION := $(lib$(NAME)_VERSION)