diff options
| author | Henning Rogge <hrogge@gmail.com> | 2015-08-06 21:59:14 +0200 |
|---|---|---|
| committer | Henning Rogge <hrogge@gmail.com> | 2015-08-06 21:59:14 +0200 |
| commit | 2a34bedcec526f58777e7fc183d47a7b5fda8c8f (patch) | |
| tree | 9899bfc3512573ce8de23e74b266f7b3660d6186 /oonf-init-scripts/Makefile | |
| parent | 8afb34944bf61d55b9f221f7db8d662175d00c5c (diff) | |
Unified Openwrt startup scripts for OONF
Diffstat (limited to 'oonf-init-scripts/Makefile')
| -rw-r--r-- | oonf-init-scripts/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/oonf-init-scripts/Makefile b/oonf-init-scripts/Makefile new file mode 100644 index 0000000..fd1aa06 --- /dev/null +++ b/oonf-init-scripts/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=oonf-init-scripts +PKG_VERSION:=0.9.1-r2 +PKG_RELEASE:=1 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/oonf-init-scripts + SECTION:=net + CATEGORY:=Network + MAINTAINER:=Henning Rogge <hrogge@gmail.com> + SUBMENU:=OLSR.org network framework + URL:=http://www.olsr.org/ + TITLE:= Common OONF startup scripts + VERSION:=$(PKG_VERSION) +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/oonf-init-scripts/install + $(INSTALL_BIN) -D ./files/oonf_init.sh $(1)/lib/functions/oonf_init.sh + $(INSTALL_BIN) -D ./files/oonf_hotplug.sh $(1)/lib/functions/oonf_hotplug.sh +endef + +$(eval $(call BuildPackage,oonf-init-scripts)) |
