developer | 22c7ab6 | 2022-01-24 11:13:32 +0800 | [diff] [blame] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=atenl |
| 4 | PKG_RELEASE=1 |
| 5 | |
| 6 | PKG_LICENSE:=GPLv2 |
| 7 | PKG_LICENSE_FILES:= |
| 8 | |
| 9 | PKG_MAINTAINER:=Shayne Chen <shayne.chen@mediatek.com> |
| 10 | PKG_BUILD_PARALLEL:=1 |
| 11 | |
| 12 | include $(INCLUDE_DIR)/package.mk |
| 13 | include $(INCLUDE_DIR)/cmake.mk |
| 14 | |
| 15 | CMAKE_SOURCE_DIR:=$(PKG_BUILD_DIR) |
| 16 | CMAKE_BINARY_DIR:=$(PKG_BUILD_DIR) |
| 17 | |
| 18 | define Package/atenl |
| 19 | SECTION:=MTK Properties |
| 20 | CATEGORY:=MTK Properties |
| 21 | TITLE:=testmode daemon for nl80211 |
| 22 | SUBMENU:=Applications |
developer | f0677ad | 2024-11-15 19:28:25 +0800 | [diff] [blame^] | 23 | DEPENDS:=+libnl-tiny +libblkid |
developer | 22c7ab6 | 2022-01-24 11:13:32 +0800 | [diff] [blame] | 24 | endef |
| 25 | |
| 26 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny |
developer | f0677ad | 2024-11-15 19:28:25 +0800 | [diff] [blame^] | 27 | TARGET_CFLAGS += -lblkid |
developer | 22c7ab6 | 2022-01-24 11:13:32 +0800 | [diff] [blame] | 28 | |
| 29 | define Package/atenl/install |
| 30 | mkdir -p $(1)/usr/sbin |
| 31 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/atenl $(1)/usr/sbin |
| 32 | $(INSTALL_BIN) ./files/ated.sh $(1)/usr/sbin/ated |
| 33 | $(INSTALL_BIN) ./files/iwpriv.sh $(1)/usr/sbin/iwpriv |
developer | bb73fa2 | 2022-12-28 22:40:23 +0800 | [diff] [blame] | 34 | $(INSTALL_BIN) ./files/iwpriv.sh $(1)/usr/sbin/mwctl |
developer | 22c7ab6 | 2022-01-24 11:13:32 +0800 | [diff] [blame] | 35 | endef |
| 36 | |
| 37 | $(eval $(call BuildPackage,atenl)) |