Skip to content
Snippets Groups Projects
Select Git revision
  • f23e02478718cd2f1b17719fdf83c4b85113149c
  • 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-04
  • experimental-2025-07-04-base
  • 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
41 results

Makefile

Blame
  • Makefile 15.78 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 QUILT=
    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)' ] \
    	|| (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)
    
    
    create-key: FORCE
    	@$(CheckExternal)
    	+@$(GLUONMAKE_EARLY) create-key
    
    prepare-target: FORCE
    	@$(CheckExternal)
    	@$(CheckTarget)
    	+@$(GLUONMAKE_EARLY) prepare-target