Skip to content
Snippets Groups Projects
Select Git revision
  • d42a7b91840cfd59906abfed3bd5ea5804f0b4d0
  • 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-26
  • experimental-2025-07-26-base
  • experimental-2025-07-24
  • experimental-2025-07-24-base
  • experimental-2025-07-22
  • experimental-2025-07-22-base
  • experimental-2025-07-21
  • experimental-2025-07-21-base
  • experimental-2025-07-20
  • experimental-2025-07-20-base
  • experimental-2025-07-19
  • experimental-2025-07-19-base
  • experimental-2025-07-17
  • experimental-2025-07-17-base
  • experimental-2025-07-12
  • experimental-2025-07-12-base
  • experimental-2025-07-04
  • experimental-2025-07-04-base
  • experimental-2025-07-01
  • experimental-2025-07-01-base
41 results

Makefile

Blame
  • Makefile 13.16 KiB
    all:
    
    LC_ALL:=C
    LANG:=C
    export LC_ALL LANG
    
    empty:=
    space:= $(empty) $(empty)
    
    GLUONMAKE_EARLY = $(SUBMAKE) -C $(GLUON_ORIGOPENWRTDIR) -f $(GLUONDIR)/Makefile GLUON_TOOLS=0
    GLUONMAKE = $(SUBMAKE) -C $(GLUON_OPENWRTDIR) -f $(GLUONDIR)/Makefile
    
    ifneq ($(OPENWRT_BUILD),1)
    
    GLUONDIR:=${CURDIR}
    
    include $(GLUONDIR)/include/gluon.mk
    
    TOPDIR:=$(GLUON_ORIGOPENWRTDIR)
    export TOPDIR
    
    
    update: FORCE
    	$(GLUONDIR)/scripts/update.sh
    	$(GLUONDIR)/scripts/patch.sh
    
    patch: FORCE
    	$(GLUONDIR)/scripts/patch.sh
    
    unpatch: FORCE
    	$(GLUONDIR)/scripts/unpatch.sh
    
    update-patches: FORCE
    	$(GLUONDIR)/scripts/update.sh
    	$(GLUONDIR)/scripts/update-patches.sh
    	$(GLUONDIR)/scripts/patch.sh
    
    -include $(TOPDIR)/include/host.mk
    
    _SINGLE=export MAKEFLAGS=$(space);
    
    override OPENWRT_BUILD=1
    override GLUON_TOOLS=1
    GREP_OPTIONS=
    export OPENWRT_BUILD GLUON_TOOLS GREP_OPTIONS
    
    -include $(TOPDIR)/include/debug.mk
    -include $(TOPDIR)/include/depends.mk
    include $(GLUONDIR)/include/toplevel.mk
    
    
    include $(GLUONDIR)/targets/targets.mk
    
    
    CheckTarget := [ -n '$(GLUON_TARGET)' -a -n '$(GLUON_TARGET_$(GLUON_TARGET)_BOARD)' -a -n '$(GLUON_TARGET_$(GLUON_TARGET)_SUBTARGET)' ] \
    	|| (echo -e 'Please set GLUON_TARGET to a valid target. Gluon supports the following targets:$(subst $(space),\n * ,$(GLUON_TARGETS))'; false)
    
    
    CheckExternal := test -d $(GLUON_ORIGOPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
    
    
    prepare-target: FORCE
    	@$(CheckExternal)
    	@$(CheckTarget)
    	+@$(GLUONMAKE_EARLY) prepare-target
    
    
    all: prepare-target
    	+@$(GLUONMAKE) prepare
    	+@$(GLUONMAKE) images