From 7de47e9fc8d94fe4ce3857b7d5e030f3a35a3b5c Mon Sep 17 00:00:00 2001 From: cara <129581427+carabidulebabat@users.noreply.github.com> Date: Wed, 15 Oct 2025 18:44:11 +0200 Subject: [PATCH 1/6] add ap alink package BR2_PACKAGE_APALINK --- general/package/ap_alink/Config.in | 7 +++++++ general/package/ap_alink/ap_alink.mk | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 general/package/ap_alink/Config.in create mode 100644 general/package/ap_alink/ap_alink.mk diff --git a/general/package/ap_alink/Config.in b/general/package/ap_alink/Config.in new file mode 100644 index 000000000..dd044262e --- /dev/null +++ b/general/package/ap_alink/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_APALINK + bool "ap_alink" + help + apalink adaptive link vers 1.2 for apfpv + and other wifi link application + + diff --git a/general/package/ap_alink/ap_alink.mk b/general/package/ap_alink/ap_alink.mk new file mode 100644 index 000000000..de9c1b8b0 --- /dev/null +++ b/general/package/ap_alink/ap_alink.mk @@ -0,0 +1,27 @@ +################################################################################ +# ap_alink - Buildroot package using upstream Makefile from GitHub +################################################################################ + +APALINK_VERSION = 1.2 +APALINK_SITE = https://github.com/carabidulebabat/AP-ALINK-FPV.git +APALINK_SITE_METHOD = git + +# Build (uses the Makefile from the repo) +define APALINK_BUILD_CMDS + $(MAKE) -C $(@D) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" +endef + +# Install (binary + optional config file) +define APALINK_INSTALL_TARGET_CMDS + # Installe le binaire compilé + $(INSTALL) -D -m 0755 $(@D)/ap_alink $(TARGET_DIR)/usr/bin/ap_alink + + # Si tu ajoutes un fichier de conf dans ton dépôt (ex: ap_alink.conf) + # décommente cette ligne : + $(INSTALL) -D -m 0644 $(@D)/ap_alink.conf $(TARGET_DIR)/etc/ap_alink.conf +endef + +$(eval $(generic-package)) From c3e55dc2b0277478fbd69b93ba180e086c8f01b9 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:06:38 +0300 Subject: [PATCH 2/6] [no ci] Refactor APALINK_SITE and clean up comments --- general/package/ap_alink/ap_alink.mk | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/general/package/ap_alink/ap_alink.mk b/general/package/ap_alink/ap_alink.mk index de9c1b8b0..1bf19ee5e 100644 --- a/general/package/ap_alink/ap_alink.mk +++ b/general/package/ap_alink/ap_alink.mk @@ -1,12 +1,10 @@ ################################################################################ -# ap_alink - Buildroot package using upstream Makefile from GitHub +# apalink ################################################################################ APALINK_VERSION = 1.2 -APALINK_SITE = https://github.com/carabidulebabat/AP-ALINK-FPV.git -APALINK_SITE_METHOD = git +APALINK_SITE = https://github.com/carabidulebabat/AP-ALINK-FPV.git(call github,carabidulebabat,AP-ALINK-FPV,$(APALINK_VERSION)) -# Build (uses the Makefile from the repo) define APALINK_BUILD_CMDS $(MAKE) -C $(@D) \ CC="$(TARGET_CC)" \ @@ -14,14 +12,9 @@ define APALINK_BUILD_CMDS LDFLAGS="$(TARGET_LDFLAGS)" endef -# Install (binary + optional config file) define APALINK_INSTALL_TARGET_CMDS - # Installe le binaire compilé $(INSTALL) -D -m 0755 $(@D)/ap_alink $(TARGET_DIR)/usr/bin/ap_alink - - # Si tu ajoutes un fichier de conf dans ton dépôt (ex: ap_alink.conf) - # décommente cette ligne : - $(INSTALL) -D -m 0644 $(@D)/ap_alink.conf $(TARGET_DIR)/etc/ap_alink.conf + $(INSTALL) -D -m 0644 $(@D)/ap_alink.conf $(TARGET_DIR)/etc/ap_alink.conf endef $(eval $(generic-package)) From e1f13172085eaf90996e068f7c30e631e9957888 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:07:11 +0300 Subject: [PATCH 3/6] [no ci] Fix APALINK_SITE assignment in ap_alink.mk Fix typo --- general/package/ap_alink/ap_alink.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/package/ap_alink/ap_alink.mk b/general/package/ap_alink/ap_alink.mk index 1bf19ee5e..f04c79e29 100644 --- a/general/package/ap_alink/ap_alink.mk +++ b/general/package/ap_alink/ap_alink.mk @@ -3,7 +3,7 @@ ################################################################################ APALINK_VERSION = 1.2 -APALINK_SITE = https://github.com/carabidulebabat/AP-ALINK-FPV.git(call github,carabidulebabat,AP-ALINK-FPV,$(APALINK_VERSION)) +APALINK_SITE = (call github,carabidulebabat,AP-ALINK-FPV,$(APALINK_VERSION)) define APALINK_BUILD_CMDS $(MAKE) -C $(@D) \ From fb1e796741bfd7516b3f806ce6377bb5a71c618a Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:11:48 +0300 Subject: [PATCH 4/6] Rename config option for ap-alink package --- general/package/ap_alink/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/general/package/ap_alink/Config.in b/general/package/ap_alink/Config.in index dd044262e..023c5e429 100644 --- a/general/package/ap_alink/Config.in +++ b/general/package/ap_alink/Config.in @@ -1,7 +1,7 @@ -config BR2_PACKAGE_APALINK - bool "ap_alink" +config BR2_PACKAGE_AP_ALINK + bool "ap-alink" help - apalink adaptive link vers 1.2 for apfpv + ap-alink is adaptive link vers 1.2 for apfpv and other wifi link application From 1733fab6a13047eb3166abb535767a7d666ce665 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:12:31 +0300 Subject: [PATCH 5/6] [no ci] Rename Config.in to Config.in --- general/package/{ap_alink => ap-alink}/Config.in | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename general/package/{ap_alink => ap-alink}/Config.in (100%) diff --git a/general/package/ap_alink/Config.in b/general/package/ap-alink/Config.in similarity index 100% rename from general/package/ap_alink/Config.in rename to general/package/ap-alink/Config.in From 2b4a1e987bee96eccc95fd055e38ee85aacbf037 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+flyrouter@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:15:41 +0300 Subject: [PATCH 6/6] [no ci] Rename apalink to ap-alink in makefile --- .../{ap_alink/ap_alink.mk => ap-alink/ap-alink.mk} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename general/package/{ap_alink/ap_alink.mk => ap-alink/ap-alink.mk} (51%) diff --git a/general/package/ap_alink/ap_alink.mk b/general/package/ap-alink/ap-alink.mk similarity index 51% rename from general/package/ap_alink/ap_alink.mk rename to general/package/ap-alink/ap-alink.mk index f04c79e29..7fd1c49bc 100644 --- a/general/package/ap_alink/ap_alink.mk +++ b/general/package/ap-alink/ap-alink.mk @@ -1,20 +1,20 @@ ################################################################################ -# apalink +# ap-alink ################################################################################ -APALINK_VERSION = 1.2 -APALINK_SITE = (call github,carabidulebabat,AP-ALINK-FPV,$(APALINK_VERSION)) +AP_ALINK_VERSION = 1.2 +AP_ALINK_SITE = (call github,carabidulebabat,ap-alink,$(AP_ALINK_VERSION)) -define APALINK_BUILD_CMDS +define AP_ALINK_BUILD_CMDS $(MAKE) -C $(@D) \ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" endef -define APALINK_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/ap_alink $(TARGET_DIR)/usr/bin/ap_alink - $(INSTALL) -D -m 0644 $(@D)/ap_alink.conf $(TARGET_DIR)/etc/ap_alink.conf +define AP_ALINK_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/ap-alink $(TARGET_DIR)/usr/bin/ap-alink + $(INSTALL) -D -m 0644 $(@D)/ap-alink.conf $(TARGET_DIR)/etc/ap-alink.conf endef $(eval $(generic-package))