Skip to content

Commit

Permalink
Enable Atheros on Ruby firmware (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetruSoroaga committed Sep 14, 2024
1 parent 85e1050 commit 5eb3a07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion general/package/linux-patcher/linux-patcher.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export UIMAGE_NAME = Linux-$(LINUX_VERSION_PROBED)-$(OPENIPC_SOC_MODEL)
# Exclude buildroot yylloc patches
LINUX_POST_PATCH_HOOKS = LINUX_APPLY_LOCAL_PATCHES

LINUX_PATCHER_BOARD_FPV = ssc338q_fpv ssc30kq_fpv
LINUX_PATCHER_BOARD_FPV = ssc338q_fpv ssc30kq_fpv ssc338q_rubyfpv
ifneq ($(filter $(BOARD),$(LINUX_PATCHER_BOARD_FPV)),)
define LINUX_PATCHER_CONFIG_ATHEROS
$(call KCONFIG_ENABLE_OPT,CONFIG_FW_LOADER)
Expand Down
Binary file added general/package/rubyfpv/files/htc_9271.fw.3
Binary file not shown.
2 changes: 2 additions & 0 deletions general/package/rubyfpv/rubyfpv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ define RUBYFPV_INSTALL_TARGET_CMDS

$(INSTALL) -m 755 -d $(TARGET_DIR)/root/ruby/licenses
$(INSTALL) -m 644 -t $(TARGET_DIR)/root/ruby/licenses $(@D)/licenses/*
$(INSTALL) -m 755 -d $(TARGET_DIR)/lib/firmware/ath9k_htc
cp $(RUBYFPV_PKGDIR)/files/htc_9271.fw.3 $(TARGET_DIR)/lib/firmware/ath9k_htc
endef

$(eval $(generic-package))

0 comments on commit 5eb3a07

Please sign in to comment.