gluon/package/gluon-radio-config/Makefile
Nils Schneider 177086b881 gluon-radio-config: basic wireless configuration
Split basic radio configuration from gluon-mesh-batman-adv as this will
be required for virtually any wireless mesh protocol.

This package takes care of setting:

  - wireless channel,
  - htmode and
  - regulatory domain

gluon-mesh-batman-adv-core depends on this package.
2015-08-18 11:41:14 +02:00

32 lines
542 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-radio-config
PKG_VERSION:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(GLUONDIR)/include/package.mk
define Package/gluon-radio-config
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Basic radio config (regdom, channel, htmode)
DEPENDS:=+gluon-core
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/gluon-radio-config/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,gluon-radio-config))