Преглед на файлове

gluon-site: set PKG_FILE_DEPENDS to site.conf and i18n/ only

PKG_FILE_DEPENDS caused the whole site repo to be hashed to determine if
gluon-site needed rebuilding. While this is normally no problem,
alternative build setups sometimes put the Gluon repo inside the site repo,
causing long build times and parallel build failures.
Matthias Schiffer преди 8 години
родител
ревизия
e528977100
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      package/gluon-site/Makefile

+ 1 - 1
package/gluon-site/Makefile

@@ -4,7 +4,7 @@ PKG_NAME:=gluon-site
 PKG_VERSION:=$(if $(GLUON_SITE_CODE),$(GLUON_SITE_CODE),1)
 PKG_RELEASE:=$(GLUON_RELEASE)
 
-PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/
+PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/site.conf $(GLUON_SITEDIR)/i18n/
 PKG_BUILD_DEPENDS := luci-base/host
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)