Makefile 774 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffpb-wifi-blackout-workaround
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/ffpb-wifi-blackout-workaround
  8. SECTION:=ffpb
  9. CATEGORY:=workarounds
  10. TITLE:=WiFi-Blackout workaround
  11. DEPENDS:=+busybox
  12. endef
  13. define Package/ffpb-wifi-blackout-workaround/description
  14. Disables ANI when the "stable" firmware branch is used.
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. endef
  23. define Package/ffpb-wifi-blackout-workaround/install
  24. $(CP) ./files/* $(1)/
  25. endef
  26. $(eval $(call BuildPackage,ffpb-wifi-blackout-workaround))