Browse Source

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

tags/n2.0
Diego Biurrun 12 years ago
parent
commit
7c22d0489f
2 changed files with 1 additions and 2 deletions
  1. +1
    -0
      common.mak
  2. +0
    -2
      library.mak

+ 1
- 0
common.mak 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)%)


+ 0
- 2
library.mak View File

@@ -1,5 +1,3 @@
SRC_DIR := $(SRC_PATH)/lib$(NAME)

include $(SRC_PATH)/common.mak

LIBVERSION := $(lib$(NAME)_VERSION)


Loading…
Cancel
Save