You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=fft-eval
  3. PKG_VERSION:=2019-11-27
  4. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  5. PKG_SOURCE_VERSION:=4d3b6faee428e3bd9f44ab6a3d70585ec50484a1
  6. PKG_SOURCE:=FFT_eval-$(PKG_SOURCE_VERSION).tar.gz
  7. PKG_SOURCE_URL:=https://codeload.github.com/simonwunderlich/FFT_eval/tar.gz/$(PKG_SOURCE_VERSION)?
  8. PKG_HASH:=fb34ed5691af6c3ec09c41a6689ae64a1a12d770347a4effd48e4b30aef1eb22
  9. PKG_BUILD_DIR:=$(BUILD_DIR)/FFT_eval-$(PKG_SOURCE_VERSION)
  10. include $(INCLUDE_DIR)/package.mk
  11. define Package/$(PKG_NAME)
  12. SECTION:=utils
  13. CATEGORY:=Utilities
  14. MAINTAINER:=Kirill Lukonin <klukonin@gmail.com>
  15. URL:=https://github.com/simonwunderlich/FFT_eval
  16. TITLE:=Evaluates FFT samples from ath9k, ath10k or ath11k driver
  17. DEPENDS:=@PACKAGE_ATH_DEBUG @PACKAGE_ATH_SPECTRAL
  18. endef
  19. define Package/$(PKG_NAME)/description
  20. Evaluates FFT samples from diferent wifi boards drivers
  21. endef
  22. TARGET_CFLAGS += -Wall -W -std=gnu99 -fno-strict-aliasing -MD -MP
  23. TARGET_CPPFLAGS += -D_DEFAULT_SOURCE
  24. define Build/Compile
  25. $(call Build/Compile/Default,CONFIG_fft_eval_sdl=n)
  26. endef
  27. define Package/$(PKG_NAME)/install
  28. $(INSTALL_DIR) $(1)/usr/bin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/fft_eval_json $(1)/usr/bin/fft_eval
  30. endef
  31. $(eval $(call BuildPackage,$(PKG_NAME)))