Skip to content
Snippets Groups Projects
Select Git revision
  • 2dd8a700ca9cc288dc4ea8abb261b8e210c446f6
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

Makefile

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    Makefile 1.10 KiB
    include $(TOPDIR)/rules.mk
    
    PKG_NAME:=gluon-status-page-api
    PKG_VERSION:=1
    PKG_RELEASE:=1
    
    PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
    PKG_BUILD_DEPENDS := respondd
    
    include ../gluon.mk
    
    
    define Package/gluon-status-page-api
      SECTION:=gluon
      CATEGORY:=Gluon
      TITLE:=API for gluon-status-page
      DEPENDS:=+gluon-core +uhttpd +sse-multiplex +gluon-neighbour-info +gluon-respondd +libiwinfo +libjson-c +libnl-tiny
    endef
    
    define Build/Prepare
    	mkdir -p $(PKG_BUILD_DIR)
    	$(CP) ./src/* $(PKG_BUILD_DIR)/
    endef
    
    define Build/Compile
    	$(call Build/Compile/Default)
    	$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
    endef
    
    define Package/gluon-status-page-api/install
    	$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
    	$(INSTALL_BIN) $(PKG_BUILD_DIR)/neighbours-batadv $(1)/lib/gluon/status-page/providers/
    	$(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/
    
    	$(INSTALL_DIR) $(1)/lib/gluon/respondd
    	$(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/status-page-api.so
    
    	$(CP) ./files/* $(1)/
    	$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
    endef
    
    $(eval $(call BuildPackage,gluon-status-page-api))