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

pull/13/merge
Diego Biurrun 12 years ago
parent b4d24b471b
commit 7c22d0489f
  1. 1
      common.mak
  2. 2
      library.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)%)

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

Loading…
Cancel
Save