Skip to content
Snippets Groups Projects
Select Git revision
  • 1eb0d0e6cb076f2714579634eddea6db0a4c7e6b
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-07-01
  • experimental-2025-07-01-base
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
41 results

config

Blame
  • Makefile 5.41 KiB
    all:
    
    LC_ALL:=C
    LANG:=C
    export LC_ALL LANG
    
    # check for spaces & resolve possibly relative paths
    define mkabspath
     ifneq (1,$(words [$($(1))]))
      $$(error $(1) must not contain spaces)
     endif
     override $(1) := $(abspath $($(1)))
    endef
    
    GLUON_SITEDIR ?= site
    $(eval $(call mkabspath,GLUON_SITEDIR))
    
    $(GLUON_SITEDIR)/site.mk:
    	$(error No site configuration was found. Please check out a site configuration to $(GLUON_SITEDIR))
    
    include $(GLUON_SITEDIR)/site.mk
    
    GLUON_RELEASE ?= $(error GLUON_RELEASE not set. GLUON_RELEASE can be set in site.mk or on the command line)
    
    GLUON_DEPRECATED ?= $(error GLUON_DEPRECATED not set. Please consult the documentation)
    
    # initialize (possibly already user set) directory variables
    GLUON_TMPDIR ?= tmp
    GLUON_OUTPUTDIR ?= output
    GLUON_IMAGEDIR ?= $(GLUON_OUTPUTDIR)/images
    GLUON_PACKAGEDIR ?= $(GLUON_OUTPUTDIR)/packages
    GLUON_TARGETSDIR ?= targets
    GLUON_PATCHESDIR ?= patches
    
    $(eval $(call mkabspath,GLUON_TMPDIR))
    $(eval $(call mkabspath,GLUON_OUTPUTDIR))
    $(eval $(call mkabspath,GLUON_IMAGEDIR))
    $(eval $(call mkabspath,GLUON_PACKAGEDIR))
    $(eval $(call mkabspath,GLUON_TARGETSDIR))
    $(eval $(call mkabspath,GLUON_PATCHESDIR))
    
    GLUON_MULTIDOMAIN ?= 0
    GLUON_WLAN_MESH ?= 11s
    GLUON_DEBUG ?= 0
    
    export GLUON_RELEASE GLUON_REGION GLUON_MULTIDOMAIN GLUON_WLAN_MESH GLUON_DEBUG GLUON_DEPRECATED GLUON_DEVICES \
    	 GLUON_TARGETSDIR GLUON_PATCHESDIR GLUON_TMPDIR GLUON_IMAGEDIR GLUON_PACKAGEDIR
    
    show-release:
    	@echo '$(GLUON_RELEASE)'
    
    
    update: FORCE
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/update.sh
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/patch.sh
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/feeds.sh
    
    update-patches: FORCE
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/update.sh
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/update-patches.sh
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/patch.sh
    
    update-feeds: FORCE
    	@GLUON_SITEDIR='$(GLUON_SITEDIR)' scripts/feeds.sh
    
    
    GLUON_TARGETS :=
    
    define GluonTarget
    gluon_target := $(1)$$(if $(2),-$(2))