Compare commits

...

33 Commits

Author SHA1 Message Date
Hela Saadani
b05b5d43ca libamxp: not compiling with libcap-ng 0.8.4
References: PCF-1684

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-04-30 11:59:39 +02:00
Hela Saadani
2130d895e5 libamxd: bump to v6.7.5
Integrates:
a59d098 ("Netdev: NetDev.Link.*.Neigh object deletion doesn't work properly (PPW-115)", 2025-01-27)

References: PPW-115
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-04-28 16:14:17 +02:00
ahmed sassi
0e3aaf6c05 libamxs:fix several coverity issues(249836, 249597, 249742, 249527)
Integrates:

- e07f45e: ("amxs_util: Coverity: fix uninitialized pointer read (CID 249597, 249742)", 2025-03-11)
- ebac093: ("amxs_sync_ctx: Coverity: fix uninitialized pointer read (CID 249836)", 2025-03-11)

coverity references:

CID 249597, 249742
CID 249836

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
5698879c57 libamxp:fix several coverity issues(CID 517339, 249763, 508637, 508539, 300733, 249648, 506987, 507100, 507031, 393552, 393507, 249504, 50888,341301, 249549, 249603, 249667, 249789, 300723, 276689)
Integrates:
- 1744e1b: ("amxp_subproc: Coverity: Fix Use of 32-bit time_t (CID 276689)", 2025-03-13)
- 405f81a: ("amxp_dir: Coverity: Fix Time of check time of use (CID 300723)", 2025-03-13)
- 9a2d597: ("amxp_expression: Coverity: Fix Free of address-of expression (CID 249549,249603,249667,249789)", 2025-03-13)
- c7bfab9: ("amxp_schedule: Coverity: Fix Logically dead code (CID 341301)", 2025-03-13)
- 6202ddf: ("amxp_expression: Coverity: Fix Dereference before null check (CID 508880)", 2025-03-13)
- 1224237: ("amxp_proccess_info: Coverity: Fix Uninitialized pointer read (CID 249504)", 2025-03-13)
- 73ea133: ("amxp_syssig: Coverity: Fix Uninitialized pointer read (CID 393507)", 2025-03-13)
- 7a0a237: ("amxp_schedule: Coverity: Fix Overflowed constant (CID 393552)", 2025-03-13)
- 9fa2e55: ("amxp_subproc: Coverity: Fix Multiple deffects in amxp_subproc_exec_child (CID 249648, 506987, 507100, 507031)", 2025-03-13)
- 01fa549: ("amxp_sigmngr: Coverity: Fix Free of address-of expression (CID 249763, 508637, 508539, 300733)", 2025-03-17)
- e5fdd64: ("amxp_signal: Coverity: Fix Dereference before null check (CID 517339)", 2025-03-28)
- eb45920: ("baf: set SoftAtHome as copyrights holder in LICENSE file", 2025-04-09)
- 00172bd: ("[CI] Update autogenerated files", 2025-03-12)
- d500ecc: ("ci: include the ci templates", 2025-03-12)

coverity references :

CID 276689
CID 300723
CID 249549,249603,249667,249789
CID 341301
CID 508880
CID 249504
CID 393507
CID 393552
CID 249648, 506987, 507100, 507031
CID 249763, 508637, 508539, 300733
CID 517339

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
12bc7e0c5a libamxo:fix several coverity issues(CID 393511, 507106, 249769, 249833, 344685, 341090, 341300)
Integrates:
- 672f1c8: ("amxo_parser: Coverity: Fix resource leak (CID 341090, 341300)", 2025-03-11)
- 6966eda: ("amxo_parser: Coverity: Fix Unchecked return value from library (CID 344685)", 2025-03-11)
- 0658d67: ("amxo_parser: Coverty: Fix Dereference null return value (CID 249833)", 2025-03-11)
- c05316a: ("amxo_parser: Coverity: Fix Logically dead code (CID 249769)", 2025-03-11)
- 9530476: ("amxo_parser: Coverity: Fix Dereference null return value (CID 507106)", 2025-03-11)

coverity references :

CID 341090, 341300
CID 344685
CID 249833
CID 249769
CID 507106

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
ahmed sassi
5a326b13c7 libamxc :fix several coverity issues(CID 249746, 300729, 249778, 341115, 24980,393520)
Integrates:

- 4032597: ("amxc_array: Coverity: Fix Overflowed constant (CID 393520)", 2025-03-12)
- b0326d1: ("amxc_varriant fd: Coverity: Fix Operands don't affect result (CID 249802)", 2025-03-12)
- b673f0f: ("variant_dump: Coverity: Fix Unchecked return value (CID 341115)", 2025-03-12)
- c52c20a: ("amxc_set: Coverity: Fix Dereference before null check (CID 300729)", 2025-03-12)
- 64dea0a: ("amxc_string: Coverity: Fix Missing varargs init or cleanup (CID 249746)", 2025-03-12)

coverity references :

CID 393520
CID 249802
CID 341115
CID 300729
CID 249746

Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-04-16 13:03:46 +00:00
Hela Saadani
dd6d23661a libamxa:fix several coverity issues(CID 249519, 393521, 508462 ,249499)
Integrates :

- c858588: ("amxa_validate_operate: Coverty: Fix unchecked return value (CID 508462)", 2025-03-11)
- 7601e2d: ("amxa_merge: Coverity: Fix overflowed constant (CID 393521)", 2025-03-11)
- e81c7c1: ("amaxa_merger: Coverity: fix argument cannot be negative (CID 249519)", 2025-03-10)
- e3f5038: ("amxa_merge: Coverity: fix (TOCTOU) Time of check time of use (CID 249499)", 2025-03-10)

coverity references :

CID 508462
CID 393521
CID 249519
CID 249499

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-04-16 13:03:46 +00:00
sahtelnet258
d089d84826 libamb: amxb_log: Possible NULL pointer dereference (PPM-3259)
Integrates:
- 8475157: ("amxb_log: Possible NULL pointer dereference", 2025-03-25)

References: PPM-3259

Signed-off-by: sahtelnet258 <hela.saadani_ext@softathome.com>
2025-04-15 15:12:19 +02:00
Hela Saadani
9945b6e67c libamxo: PPW-459 Parser does not take into consideration a variable call [fix]
Integrates:
- 51c6ee4: ("libamxo: Parser does not take into consideration a variable call (PPW-459)", 2025-02-24)

References: PPW-459

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-04-08 12:06:07 +01:00
Nikolai Merinov
c9a202307b mod-amxb-pcb: Remove package with non-existent dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/mod-amxb-pcb/Makefile' has a dependency on 'libpcb', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/mod-amxb-pcb/Makefile' has a dependency on 'libusermngt', which does not exist

This is happening as mod-amxb-pcb defines a wrong dependency on
non-existent libpcb and libusermngt packages.

Package mod-amxb-pcb impossible to compile without vendor specific
"libpcp" library, that not part of prplOS, so let's fix it by removing
non-buildable package.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Nikolai Merinov
8dc1aa799f libamxp: fix incorrect host dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/libamxp/Makefile' has a build dependency on 'bison/host', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/libamxp/Makefile' has a build dependency on 'flex/host', which does not exist

This happend as libamxp defines a wrong dependency on non existent
flex/host and bison/host packags.

remove dependencies to non existent flex/host and bison/host package.
OpenWrt provides flex and bison utilities as tools/flex and tools/bison
targets. This tools alwys compiled before start of packages compilation.
There is no way to describe this dependency explicitely in OpenWrt.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Nikolai Merinov
ad75c589cc libamxo: fix incorrect host dependencies
During the prplOS build configuration phase, we're currently seeing
following warning:

    WARNING: Makefile 'package/feeds/feed_amx/libamxo/Makefile' has a build dependency on 'bison/host', which does not exist
    WARNING: Makefile 'package/feeds/feed_amx/libamxo/Makefile' has a build dependency on 'flex/host', which does not exist

This happend as libamxo defines a wrong dependency on non existent
flex/host and bison/host packags.

OpenWrt provides flex and bison utilities as tools/flex and tools/bison
targets. This tools alwys compiled before start of packages compilation.
There is no way to describe this dependency explicitely in OpenWrt.

References: PCF-1637
Signed-off-by: Nikolai Merinov <n.merinov@inango-systems.com>
2025-04-03 15:47:05 +00:00
Matthias Franck
5044552934 mod-busstats: add package
Introduces the mod-busstats package.
mod-busstats allows to fetch the statistics on usage of the inter-process communication bus connections of a component.

References: PCF-1679

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 17:00:24 +01:00
Matthias Franck
8b2e088e61 libamxb: bump to v4.12.0
Integrates:
- e2d537d ("Amx backend: RPC to reset a plugin statistics(PCF-1679)", 2025-02-11)

References: PCF-1679

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 17:00:11 +01:00
Matthias Franck
43097f1114 mod-amxb-ubus: bump to v3.9.0
Integrates:
- 96ef54b ("Amx backend: RPC to reset a plugin statistics(PCF-1679)", 2025-02-11)

References: PCF-1679, PCF-1680

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
2025-03-28 16:59:47 +01:00
Hela Saadani
25b6d8db9f libamxd: v6.7.3: Performance improvements
- d5bad5c7c933 ("[CI] Update changelog for release master_v6.7.3")
- 6efded78885c ("Issue: HOP-8358 Performance improvements data model transactions")
- 45a060400d02 ("[CI] Update changelog for release master_v6.7.2")
- 8de3afc2dc63 ("Issue: HOP-8255 Custom action handlers must be used when available in creating pcb reply messages")
- 18239a4ca004 ("[CI] Update changelog for release master_v6.7.1")
- 2502b6555a5b ("Issue: HOP-8255 Custom action handlers must be used when available in creating pcb reply messages")

* HOP-8358: - Improve building reply of add instance
            - Skip key verification if no key parameters are changed
            - Optimize transactions, avoid double look-ups
            - Make it possible to set read-only parameters when using protected mode.
* HOP-8255: When parameter values are replied the value is directly from memory, but when a read handler is set on the parameter that one should be used.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 18:09:25 +01:00
Hela Saadani
f1ed812f50 libamxo: v5.3.2: Cache parsed mib expressions and fix parameter identation when saving odl files
- cf43e3842c55 ("[CI] Update changelog for release master_v5.3.2")
- 77e31399a82c ("Issue: HOP-8354 Fix parameter identation when saving odl files")
- aebd63e5e169 ("[CI] Update changelog for release master_v5.3.1")
- 884dd438d9fd ("Issue: HOP-8233 Cache parsed mib expressions")

* HOP-8354: Adds an indentation before parameters when saving odl files
* HOP-8233: Whenever the mibs are applied to the data model, their expression is re-parsed.
            For components such as gmap-server that rely heavily on dynamically changing mibs,
            this is an extra needless cost that may be optimized by caching the parsed expression.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 18:09:15 +01:00
Hela Saadani
c48d559db0 libamxp: v2.7.0: Avoid variant copies
- b398887391f3 ("[CI] Update changelog for release master_v2.7.0")
- e88416196aae ("Issue: HOP-8351 Avoid variant copies")

Add a function that takes ownership of the variant data for deferred calls.
The variant data must be freed when the deferred call has been executed or when the queued deferred call is removed from the list.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:54:59 +01:00
Hela Saadani
a1d0d2feb4 mod-amxb-ubus: v3.8.2: Avoid variant copies
- b67bd98880f1 ("[CI] Update changelog for release master_v3.8.2")
- 88d148fd32c7 ("Issue: HOP-8351 Avoid variant copies")

Adds a function that takes ownership of the variant data for deferred calls.
The variant data must be freed when the deferred call has been executed or when the queued deferred call is removed from the list.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:51:07 +01:00
Hela Saadani
96c904af24 libamxrt: v0.6.6: forward porting of fixes in prplWare 3.2 release
in commit fa710078632f ("[CI] Update autogenerated files")
in commit 092b0e775568 ("baf: fix libcap-ng issues on various filesystems")
in commit af97038c00d8 ("ci: use new gitlab-ci templates")
in commit 4fafa9751b54 ("baf: introduce the baf.yml file")
in commit d33cba16a6bd ("Allow forcing components to run as root (PPW-185)")

References: PPW-185, PPW-74, PCF-1411, PCF-1456

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:43:39 +01:00
Hela Saadani
0b1f5442fe libamxb: v4.11.8: Always log bus timeouts to syslog
- ddd0af980d88 ("[CI] Update changelog for release master_v4.11.8")
- ea8a01b78bac ("Issue: HOP-8243 [Amxb] Always log bus timeouts to syslog")

A logging function can be set in lib amxb, if this is done all the amxb calls involving bus access will be logged using this function.
In order to always log bus timeouts , use syslog instead of the custom logging function when a timeout has occured. This increases visibility of bus timeouts.

Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
2025-03-25 17:41:06 +01:00
ahmed sassi
b7eda3aa78 amxo-cg: bump to v1.6.5
Integrates:

- c1ad3f834647b223b5abde24fdd01eb951b9725a("Fix wrong mapping to non-existent objects(PCI-45)", 2025-01-20)

References: PCI-45
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
2025-03-05 09:45:45 +01:00
Petr Štetiar
d0cca925e7 libamxrt: fix libcap-ng issues on F2FS, JFFS2 and UBIFS based overlays
Commit 3dc4681f9b ("Integrating libamxp to master_v2.1.1") added
handling of subprocess capabilities via libcap-ng, which on targets
utilizing ext4 filesystem needs EXT4_FS_SECURITY kernel config symbol
enabled for proper support of extended filesystem attributes via
fsetxattr():

 amxp_subproc_start()
 `-amxp_subproc_vstart()
   `-amxp_subproc_exec_child()
     `-amxp_subproc_set_capabilities()
       `-capng_apply_caps_fd()
         `-fsetxattr()

 open("/usr/sbin/unbound", O_RDWR|O_LARGEFILE) = 3
 ...
 fsetxattr(3, "security.capability", "\1\0\0\2\0\0\0\0*$\0\200\0\0\0\0\0\0\0", 20, 0) = -1 EOPNOTSUPP (Not supported)

This failure then leads to missing CAP_NET_BIND_SERVICE capability and thus
unbound can't start:

 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for 0.0.0.0 port 53
 [1726337363] unbound[30984:0] error: can't bind socket: Permission denied for :: port 53
 [1726337363] unbound[30984:0] fatal error: could not open ports
 ...
 tr181-dns: dns     - [i]Started Unbound (1 times) - (start_unbound@modunbound_main.c:455)
 tr181-dns: dns     - [i]wait for wait:done - (start_unbound@modunbound_main.c:457)
 tr181-dns: dns     - [x]Unbound stopped! - (unbound_stopped@modunbound_main.c:373)

That was fixed in commit 995891f8ca ("libamxrt: fix libcap-ng issues
on ext4 by enabling EXT4_FS_SECURITY").

Lately it was found out, that on some targets, like RPI the same issue
appeared again. It was found out, that it was due to the fact, that RPI
is using f2fs based rootfs_data overlay, because procd/fstools creates
f2fs based rootfs_data overlays if the available storage space is bigger
then 100MiB, in other cases its going to use ext4 filesystem.

So lets fix it for good for all the targets supported by underlying
OpenWrt system, by selecting the corresponding KERNEL_*_FS_SECURITY
config symbols. Unfortunatelly for f2fs we can't use target's specific
USES_F2FS as its not available, but we could probably use mkf2fs for
that purpose as every target seems to include it, so it should work.

Cc: stable-3.1
Fixes: PCF-1456
References: PCF-1411, PPW-74
Fixes: 3dc4681f9b ("Integrating libamxp to master_v2.1.1")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
(cherry picked from commit fcf51b9865)
2025-02-06 10:33:21 +01:00
sahbot
9996468664 Integrating libamxo to master_v5.3.0
Issue: HOP-8052 Reduce unnecessary formatted writes

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 6b0a33020ffba535e00733bfb4a905cb7c9b1034
2024-12-12 16:09:59 +00:00
sahbot
2d3b3a00c1 Integrating libamxd to master_v6.7.0
Issue: HOP-8179 Improve data model mamagement functions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 2b42b0c07c1adce9a09523d196a32265356a8858
2024-12-12 16:09:59 +00:00
sahbot
f80f701d0c Integrating libamxp to master_v2.6.3
Issue: HOP-8166 Reduce usage of appendf in expression parser

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: f97e4065e19cc44ae95fad1fb03694f5732a92dd
2024-12-12 16:09:59 +00:00
sahbot
b6ea6947f2 Integrating amxo-cg to master_v1.6.3
Issue: HOP-8155 [amxo-cg] not compiling with gcc13.3.0

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: e77c6365450cf0288baeb0595d8cbfbd0b4cc3e8
2024-12-12 16:09:59 +00:00
sahbot
64c31e101f Integrating libamxc to master_v2.3.1
Issue: HOP-8057 Provide integer -> string conversion functions
Issue: HOP-8136 [Amxc] Enable comparison of null variants

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 4917fb5d30c5057e474ed0220aa77519ef1501da
2024-12-10 06:35:36 +00:00
sahbot
b578f3728c Integrating libamxc to master_v2.3.0
Issue: HOP-8057 Provide integer -> string conversion functions

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 0151937c5ab986fb7b65986ed4b3985f6b50dda3
2024-12-10 06:35:36 +00:00
sahbot
46c39c956a Integrating libamxp to master_v2.6.2
Issue: HOP-8130 [libamxp]Memory leak can occur when signal can not be emitted
Issue: NET-6400 [AMX] Slots callback functions are called multiple times

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 9d1f4b84b7ffd2912202050daef6d521b41410f6
2024-12-10 06:35:36 +00:00
sahbot
5a74bf00b7 Integrating amxrt to master_v2.2.4
Issue: HGWPR-32571 option p busybox not available

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 7e240cf097bc725d015752ad2221751a6ca346fb
2024-12-10 06:35:36 +00:00
sahbot
4cee1249e4 Integrating mod-amxb-ubus to master_v3.8.1
Issue: HOP-8082 [ubusd] handle large messages: rework logs for fragmented messages

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 8dc3ec425ab3c9e315fc7e95c24ba218374ab55f
2024-12-10 06:35:35 +00:00
sahbot
a717a66fca Integrating libamxp to master_v2.6.1
Issue: NET-6400 [AMX] Slots callback functions are called multiple times

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: d125f27086dd61a341cbd8a9f5db3f64437e38c5
2024-12-10 06:35:35 +00:00
14 changed files with 98 additions and 107 deletions

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxo-cg
PKG_VERSION:=v1.6.2
PKG_VERSION:=v1.6.5
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
PKG_SOURCE:=amxo-cg-v1.6.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.6.2
PKG_HASH:=1aa6b9ac8075377f580b075b7c15bc9e0439eb5a4b0fcffb8e726ec1c2e6092a
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.6.2
PKG_SOURCE:=amxo-cg-v1.6.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.6.5
PKG_HASH:=132ef529452b32dacdb9f9ca84abb74a44b88b44dae28eb597d2ca0fcbc1d889
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.6.5
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -19,7 +19,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Ambiorix
SUBMENU:=Applications
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg
DEPENDS += +libamxc

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=amxrt
PKG_VERSION:=v2.2.3
PKG_VERSION:=v2.2.4
SHORT_DESCRIPTION:=Data model runtime
PKG_SOURCE:=amxrt-v2.2.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.2.3
PKG_HASH:=b68273ceaa8b4714eb4f8c9435e42a26f0e1b1e04748d50e576520cad1c87036
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.2.3
PKG_SOURCE:=amxrt-v2.2.4.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v2.2.4
PKG_HASH:=44a4086d169cb5369635ea131a35ab5dc4befeaf59c92dc92bdfac9bca24e62b
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v2.2.4
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxa
PKG_VERSION:=v0.11.1
PKG_VERSION:=v0.11.6
SHORT_DESCRIPTION:=Access control verification
PKG_SOURCE:=libamxa-v0.11.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.1
PKG_HASH:=c4ce80b236e2e6bef000e6c90df0b4be995e8ce689f88bbbbc1a3dcf6199d664
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.1
PKG_SOURCE:=libamxa-v0.11.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.11.6
PKG_HASH:=aeb44d88c00725dd028afdade436f61cdb6d762cbfc3bed616fac689d3405148
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.11.6
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxb
PKG_VERSION:=v4.11.7
PKG_VERSION:=v4.12.3
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
PKG_SOURCE:=libamxb-v4.11.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.11.7
PKG_HASH:=ed05112bd7d3191ccf998de78c6b4dac01e77e8ae38d7c693dd2ea667579ac95
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.11.7
PKG_SOURCE:=libamxb-v4.12.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v4.12.3
PKG_HASH:=89c9ddef59427a3351e5d0bacb1ef8560fdc71c6562a1dacf3f1183726282920
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v4.12.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxc
PKG_VERSION:=v2.2.2
PKG_VERSION:=v2.3.7
SHORT_DESCRIPTION:=library providing generic reusable data containers
PKG_SOURCE:=libamxc-v2.2.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.2.2
PKG_HASH:=4286f544ea0875337108edd7f20ac9c2f73fea217f5cc1ecdf342a990642bca1
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.2.2
PKG_SOURCE:=libamxc-v2.3.7.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v2.3.7
PKG_HASH:=97913f8a58f2ba4ee22de1e8a015b6f6cd9a963c1f86eec59d3406a99fa49d71
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v2.3.7
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,13 +1,15 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxd
PKG_VERSION:=v6.6.2
PKG_VERSION:=v6.7.5
SHORT_DESCRIPTION:=Data model C-API
PKG_SOURCE:=libamxd-v6.6.2.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.6.2
PKG_HASH:=6b5259f8e38505b6c3f389eaa5d453d3dd167b0bfb27fc9034f15bdbdad4d403
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.6.2
PKG_SOURCE:=libamxd-v6.7.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v6.7.5
PKG_HASH:=7eda28be86494b69afa83b0b11f6599735dc4142cd30c499e215fef149df5123
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v6.7.5
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,21 +1,21 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxo
PKG_VERSION:=v5.2.0
PKG_VERSION:=v5.3.10
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
PKG_SOURCE:=libamxo-v5.2.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.2.0
PKG_HASH:=59e1135e25c31f4981dd4bde0fe8b6b867652136d654b763222501e06d81af2d
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.2.0
PKG_SOURCE:=libamxo-v5.3.10.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v5.3.10
PKG_HASH:=d785a6c9dc6591d8c28428002ffd82d7955c3d4e891c2c3315524688a497570b
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v5.3.10
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
include $(INCLUDE_DIR)/package.mk

View File

@@ -1,21 +1,22 @@
# WARNING: Automatically generated file using BAF (Build system Agnostic File) tooling
# WARNING: You should contribute changes to https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/blob/main/baf.yml instead
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxp
PKG_VERSION:=v2.6.0
PKG_VERSION:=dev_PCF-1684
SHORT_DESCRIPTION:=Common patterns implementation
PKG_SOURCE:=libamxp-v2.6.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v2.6.0
PKG_HASH:=d3a1aff7c9fee60262670e701e36cb0b8b61293e7c1833f7c6d4364e8ca127ae
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v2.6.0
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=dev_PCF-1684
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp.git
PKG_MIRROR_HASH:=skip
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += bison/host
PKG_BUILD_DEPENDS += flex/host
include $(INCLUDE_DIR)/package.mk

View File

@@ -10,11 +10,23 @@ menu "Select libamxrt build options"
config SAH_LIB_AMXRT
bool "Build libamxrt"
default y
select KERNEL_EXT4_FS_SECURITY if USES_EXT4 || PACKAGE_kmod-fs-ext4
select KERNEL_JFFS2_FS_SECURITY if USES_JFFS2 || USES_JFFS2_NAND
select KERNEL_UBIFS_FS_SECURITY if USES_UBIFS
select KERNEL_F2FS_FS_SECURITY if PACKAGE_mkf2fs
config SAH_AMXRT_RWDATAPATH
string "Persistent storage location"
default "/etc/config"
config FORCE_RUNNING_AS_ROOT
bool "INSECURE: This options forces ambiorix components to run as the root user, even if they request to run as a different user"
default y
config REMOVE_CAPS_ODLS
bool "INSECURE: This option removes all the capability ODLs (*_caps.odl) from /etc/amx and subdirectories during first boot. This will also force all components to run as root"
default y
endmenu
endif

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxrt
PKG_VERSION:=v0.6.5
PKG_VERSION:=v0.6.6
SHORT_DESCRIPTION:=Ambiorix Run Time API
PKG_SOURCE:=libamxrt-v0.6.5.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.5
PKG_HASH:=b76ad87fe9ef2417c84530e57a527945ace1eb18edf6dfc8e6a494254ed4ba3c
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.5
PKG_SOURCE:=libamxrt-v0.6.6.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxrt/-/archive/v0.6.6
PKG_HASH:=dea27aaa844cc66437a97913eb3f9a22c5fbecb55846e1174960df7d4a876f19
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxrt-v0.6.6
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -38,15 +38,15 @@ define Package/$(PKG_NAME)/description
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH))
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_AMXRT_RWDATAPATH=$(CONFIG_SAH_AMXRT_RWDATAPATH) CONFIG_FORCE_RUNNING_AS_ROOT=$(CONFIG_FORCE_RUNNING_AS_ROOT) CONFIG_REMOVE_CAPS_ODLS=$(CONFIG_REMOVE_CAPS_ODLS))
endef
define Package/$(PKG_NAME)/install

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libamxs
PKG_VERSION:=v0.8.1
PKG_VERSION:=v0.8.3
SHORT_DESCRIPTION:=Data model synchronization C-API
PKG_SOURCE:=libamxs-v0.8.1.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.8.1
PKG_HASH:=14f3db230f42686381c690fc8ba92c7b724f43756baf102d10056b89ccd40715
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.8.1
PKG_SOURCE:=libamxs-v0.8.3.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.8.3
PKG_HASH:=42409fe4b135b8274e9f4595c269dcc66c076aadcbfe0ee99a8c274805fcdab0
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.8.3
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE

View File

@@ -1,20 +0,0 @@
config PACKAGE_mod-amxb-pcb
tristate
select SAH_MOD_AMXB_PCB
if PACKAGE_mod-amxb-pcb
menu "Select mod-amxb-pcb build options"
depends on PACKAGE_mod-amxb-pcb
config SAH_MOD_AMXB_PCB
bool "Build pcb backend for ambiorix"
default y
config SAH_MOD_AMXB_PCB_ORDER
string "Backend load order"
default "10-"
endmenu
endif

View File

@@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-ubus
PKG_VERSION:=v3.8.0
PKG_VERSION:=v3.9.0
SHORT_DESCRIPTION:=Ubus Backend
PKG_SOURCE:=amxb_ubus-v3.8.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.8.0
PKG_HASH:=be0855cc45f4d4a04ee6a9c37eb8f18bd031d2acac9d06ccffa9792c779275dd
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.8.0
PKG_SOURCE:=amxb_ubus-v3.9.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v3.9.0
PKG_HASH:=28e1e418e72579ecf86f2fc866b1afda2727098227b821ce52a387072d8c4631
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v3.9.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
@@ -25,7 +25,7 @@ define Package/$(PKG_NAME)
DEPENDS += +libamxc
DEPENDS += +libamxb
DEPENDS += +libamxd
DEPENDS += +ubus
DEPENDS += +libubus
MENU:=1
endef

View File

@@ -1,53 +1,49 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mod-amxb-pcb
PKG_VERSION:=v3.16.0
SHORT_DESCRIPTION:=PCB backend implementation for amxb
PKG_NAME:=mod-busstats
PKG_VERSION:=v0.3.0
SHORT_DESCRIPTION:=Bus statistics
PKG_SOURCE:=amxb_pcb-v3.16.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb/-/archive/v3.16.0
PKG_HASH:=f46be0036798f5610d42bc4d9e968c273eeff032742eb2de941898d7546018b9
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_pcb-v3.16.0
PKG_SOURCE:=mod-busstats-v0.3.0.tar.gz
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_dm_mods/mod-busstats/-/archive/v0.3.0
PKG_HASH:=9170310e598d70a165c163cb09f7733416e5bcd27461ba8945d54324b514f7d5
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-busstats-v0.3.0
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
PKG_LICENSE:=BSD-2-Clause-Patent
PKG_LICENSE_FILES:=LICENSE
PKG_RELEASE:=1
PKG_BUILD_DEPENDS += libamxo
PKG_BUILD_DEPENDS += libsahtrace
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
CATEGORY:=prpl Foundation
SUBMENU:=Ambiorix
SUBMENU:=Modules
TITLE:=$(SHORT_DESCRIPTION)
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_pcb
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_dm_mods/mod-busstats
DEPENDS += +libamxc
DEPENDS += +libamxj
DEPENDS += +libamxp
DEPENDS += +libamxd
DEPENDS += +libamxb
DEPENDS += +libpcb
DEPENDS += +libamxa
DEPENDS += +libusermngt
DEPENDS += +yajl
MENU:=1
endef
define Package/$(PKG_NAME)/description
PCB backend implementation for amxb
Bus statistics
endef
define Build/Compile
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
endef
define Build/Install
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
endef
define Build/InstallDev
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_AMXB_PCB_ORDER=$(CONFIG_SAH_MOD_AMXB_PCB_ORDER))
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(STAGING_DIR) STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PV=$(PKG_VERSION) PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig LIBDIR=/usr/lib INSTALL_LIB_DIR=/lib INSTALL_BIN_DIR=/bin RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
endef
define Package/$(PKG_NAME)/install
@@ -60,8 +56,4 @@ define Package/$(PKG_NAME)/install
find $(1) -name *.pc -exec rm {} +;
endef
define Package/$(PKG_NAME)/config
source "$(SOURCE)/Config.in"
endef
$(eval $(call BuildPackage,$(PKG_NAME)))