diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-01 22:52:32 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-27 17:49:13 +0400 |
commit | 7c22d0489fa4bf0e74ae45725007dcba5028cb04 (patch) | |
tree | e126a1ede960443d0f4473d658601555a85efd31 | |
parent | b4d24b471bc52f1f78a43ee330199e70483e51c3 (diff) |
build: Move setting of SRC_DIR to the only place it is used
-rw-r--r-- | common.mak | 1 | ||||
-rw-r--r-- | library.mak | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/common.mak b/common.mak index b134835187..d3c6b9f694 100644 --- a/common.mak +++ b/common.mak @@ -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)%) diff --git a/library.mak b/library.mak index f3e44273f7..88d33dccfc 100644 --- a/library.mak +++ b/library.mak @@ -1,5 +1,3 @@ -SRC_DIR := $(SRC_PATH)/lib$(NAME) - include $(SRC_PATH)/common.mak LIBVERSION := $(lib$(NAME)_VERSION) |