mirror of
https://gitlab.com/prpl-foundation/prplos/feeds/feed_amx.git
synced 2026-01-09 23:31:18 +08:00
Compare commits
175 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
278cf17520 | ||
|
|
15ba5f338d | ||
|
|
258c8c2a96 | ||
|
|
a3bb8acbb1 | ||
|
|
56210b8e37 | ||
|
|
7fef3e626c | ||
|
|
d4160d66c1 | ||
|
|
18238fc576 | ||
|
|
0f507f515f | ||
|
|
f99f47faa5 | ||
|
|
37d41133ca | ||
|
|
b33d8dd0e9 | ||
|
|
ccedcca9bd | ||
|
|
0c943aec38 | ||
|
|
33ea4efc90 | ||
|
|
2036d51eaa | ||
|
|
b80c04bf37 | ||
|
|
7f49621611 | ||
|
|
f06e1bed56 | ||
|
|
6b982eac26 | ||
|
|
7134dd5aa2 | ||
|
|
860e8718cd | ||
|
|
2cb29aa2bd | ||
|
|
965e340df9 | ||
|
|
0932ede196 | ||
|
|
2351293f32 | ||
|
|
85129a5e0b | ||
|
|
38d220adf0 | ||
|
|
787e801037 | ||
|
|
df525166d2 | ||
|
|
be55834f63 | ||
|
|
3b494ca297 | ||
|
|
bc98f93751 | ||
|
|
58f873f0c2 | ||
|
|
1f60315a5a | ||
|
|
46206ef579 | ||
|
|
d3f16bf3d6 | ||
|
|
d9cc15b190 | ||
|
|
8f8966ad51 | ||
|
|
ad971703e5 | ||
|
|
265f6f8083 | ||
|
|
0cb22f113d | ||
|
|
abbccc0a36 | ||
|
|
3a4218cd0e | ||
|
|
28b564fd1d | ||
|
|
93873f8eda | ||
|
|
ac99a20913 | ||
|
|
31b4205339 | ||
|
|
3d2e24ce95 | ||
|
|
4dd4583429 | ||
|
|
e7f10fb43a | ||
|
|
90dc2b81a5 | ||
|
|
dec7ee6d40 | ||
|
|
d1b499e5aa | ||
|
|
dfb1e9458e | ||
|
|
8c40361e46 | ||
|
|
1914cdb813 | ||
|
|
e5f55bb527 | ||
|
|
d6dc9697ce | ||
|
|
02ce0511d3 | ||
|
|
10b04075fe | ||
|
|
f8a5c692b1 | ||
|
|
417b51e812 | ||
|
|
b761993d3b | ||
|
|
0b3199179f | ||
|
|
568c9c99ba | ||
|
|
2e5ae2c45d | ||
|
|
b9b4f1e651 | ||
|
|
fa929675ff | ||
|
|
396cff4e84 | ||
|
|
6c1a6a7858 | ||
|
|
987be31644 | ||
|
|
cac7b0199e | ||
|
|
0bd3e93734 | ||
|
|
2d8de57c29 | ||
|
|
4d18e7bea4 | ||
|
|
b36331fc09 | ||
|
|
bcd6e14689 | ||
|
|
b88436713c | ||
|
|
164befdf59 | ||
|
|
f00024e808 | ||
|
|
80ab8d1d2c | ||
|
|
d9725f604c | ||
|
|
7cbfb446e6 | ||
|
|
9d8dd34a08 | ||
|
|
82b8146ebc | ||
|
|
8775819bfd | ||
|
|
51f35468bb | ||
|
|
9727940d2e | ||
|
|
248b5ffd91 | ||
|
|
70bc4fd520 | ||
|
|
7367eaa429 | ||
|
|
fb8bba63d1 | ||
|
|
0a8c3b54d5 | ||
|
|
a6988e0de1 | ||
|
|
86bad55e77 | ||
|
|
e737af518f | ||
|
|
543104196d | ||
|
|
cd58beff58 | ||
|
|
fc2a8de302 | ||
|
|
b7ddaf26f0 | ||
|
|
246793b2c4 | ||
|
|
96bf5ff371 | ||
|
|
b8730e0b87 | ||
|
|
278ba8012b | ||
|
|
b3a972faa0 | ||
|
|
003412e72c | ||
|
|
6be6ff860f | ||
|
|
2f5e1d9876 | ||
|
|
26f9c2bb56 | ||
|
|
6e3e7d4be4 | ||
|
|
807ac0deaf | ||
|
|
761fc74053 | ||
|
|
eca8c35496 | ||
|
|
8ff72d6484 | ||
|
|
cb7f60f3ad | ||
|
|
34e08536ec | ||
|
|
0a415d3f2c | ||
|
|
b890c9a943 | ||
|
|
9329f21015 | ||
|
|
f6aa754cba | ||
|
|
2379d56767 | ||
|
|
05017ace6f | ||
|
|
a0c7b35adb | ||
|
|
2dbd9d7473 | ||
|
|
95cd6ba18e | ||
|
|
3a360d252f | ||
|
|
e195b6dc1d | ||
|
|
879174b5fd | ||
|
|
238e38a557 | ||
|
|
f4aec662f6 | ||
|
|
0eebddd346 | ||
|
|
f89c902083 | ||
|
|
ab83aaade7 | ||
|
|
7939f0cda6 | ||
|
|
b57409887d | ||
|
|
0bd37973f6 | ||
|
|
d74a0f921d | ||
|
|
043af4b72b | ||
|
|
3e02f34e17 | ||
|
|
831c833f48 | ||
|
|
bca367cab0 | ||
|
|
82a3997502 | ||
|
|
6046b95453 | ||
|
|
2a217adb7d | ||
|
|
65d4b6856b | ||
|
|
9f37d4395e | ||
|
|
5488361e69 | ||
|
|
7006c5cf02 | ||
|
|
a418071aa4 | ||
|
|
46f78c4322 | ||
|
|
2ff7423c3f | ||
|
|
d911661b99 | ||
|
|
a68e2e3493 | ||
|
|
e4109dd0b3 | ||
|
|
e5aa122e5a | ||
|
|
8a9b2e205a | ||
|
|
fcbf0fe9d6 | ||
|
|
30f6e75e13 | ||
|
|
5676999e69 | ||
|
|
f7e3063afd | ||
|
|
b23e95ce39 | ||
|
|
985f00962c | ||
|
|
ee5c582ad5 | ||
|
|
4732bf00d2 | ||
|
|
d972b18754 | ||
|
|
3dfcf0de1d | ||
|
|
5971eb092b | ||
|
|
601c4fe98d | ||
|
|
78d7132e8a | ||
|
|
62a3d1ed1f | ||
|
|
aa87b8987c | ||
|
|
816a98f71d | ||
|
|
3addbf21a8 | ||
|
|
56dcb14d6b |
50
.gitlab-ci.yml
Normal file
50
.gitlab-ci.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
variables:
|
||||
CI_DESIGNATED_BRANCH: prplos
|
||||
|
||||
include:
|
||||
- remote: https://gitlab.com/prpl-foundation/prplOS/prplos/-/raw/prplos/.gitlab/sdk.yml
|
||||
|
||||
generate:
|
||||
extends: .generate SDK package build jobs
|
||||
rules:
|
||||
- if: '$GITLAB_INTERNAL && $CI_COMMIT_REF_NAME == $INTERNAL_REF_BRANCH'
|
||||
- if: '$GITLAB_INTERNAL == null && $CI_COMMIT_REF_NAME == "main"'
|
||||
- if: '$GITLAB_INTERNAL == null && $CI_COMMIT_TAG'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
variables:
|
||||
CI_SDK_TARGETS: |
|
||||
intel_mips-xrx500
|
||||
ath79-generic-19.07.7
|
||||
mvebu-cortexa9
|
||||
ipq40xx-generic
|
||||
CI_SDK_BUILD_PACKAGES: |
|
||||
acl-manager
|
||||
amx-cli
|
||||
amx-fcgi
|
||||
amxb-inspect
|
||||
amxo-cg
|
||||
amxrt
|
||||
amx-webui
|
||||
libamxa
|
||||
libamxb
|
||||
libamxc
|
||||
libamxd
|
||||
libamxj
|
||||
libamxm
|
||||
libamxo
|
||||
libamxp
|
||||
libamxs
|
||||
libamxt
|
||||
libsahtrace
|
||||
mod-amxb-ubus
|
||||
mod-ba-cli
|
||||
mod-dm-cli
|
||||
uriparser
|
||||
|
||||
build:
|
||||
extends: .execute SDK package build jobs
|
||||
rules:
|
||||
- if: '$GITLAB_INTERNAL && $CI_COMMIT_REF_NAME == $INTERNAL_REF_BRANCH'
|
||||
- if: '$GITLAB_INTERNAL == null && $CI_COMMIT_REF_NAME == "main"'
|
||||
- if: '$GITLAB_INTERNAL == null && $CI_COMMIT_TAG'
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
302
CHANGELOG.md
Normal file
302
CHANGELOG.md
Normal file
@@ -0,0 +1,302 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
|
||||
## Release v3.2.0 - 2021-12-10(14:56:49 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [amx-webui](https://gitlab.com/prpl-foundation/components/ambiorix/examples/webui/webui): Component added
|
||||
|
||||
### Fixes
|
||||
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): amxb_who_has function must take local data model into account
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): When a parameter is of csv or ssv type all individual values must be verified with check_enum or check_is_in
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Make it possible to set relative parameter references in validators
|
||||
- [amxrt](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt): Make it possible to handle data model events before app:start event is triggered
|
||||
|
||||
### Other
|
||||
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg): Issue: ambiorix/applications/amxo-cg#20 Add STAGINGDIR to CFLAGS and LDFLAGS
|
||||
|
||||
## Release v3.1.0 - 2021-12-07(11:11:36 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [libamxs](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs): Component added
|
||||
- [amx-fcgi](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi): Component added
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Subscriptions on non-existing objects must fail
|
||||
- [libamxj](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj): Potential memory leak in variant_json_init
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Documentation mentions wrong type for object iterations macros
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): No events received when subscribing on native ubus objects
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Fixes subscription on search paths
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Fixes segmentation fault when deleting subscription object
|
||||
|
||||
### Changes
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli): Code clean-up
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Adds support for event proxy
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Improve and refactor subscriptions
|
||||
|
||||
## Release v3.0.0 - 2021-11-29(12:59:06 +0000)
|
||||
|
||||
### Removed
|
||||
|
||||
- [mod-sahtrace](https://gitlab.com/prpl-foundation/components/core/modules/mod-sahtrace): Component removed
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Memory leak in amxb_ubus_get_longest_path when invoked with a non existing path
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Improve default set action
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager): Guest role should only have read access
|
||||
|
||||
## Release v2.14.1 - 2021-11-19(12:47:42 +0000)
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Use emit signal instead of trigger in amxb_ubus_wait_watcher
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Amxb_ubus_unsubscribe segfaults when object is not found
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): Fixes regression due to adding any action
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): Missing brackets in function resolver data causes segmentation fault
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): Make it possible to set an action callback for all actions
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): The function name must be passed as private data to subscriptions taken from an odl file
|
||||
|
||||
### Other
|
||||
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Issue: ambiorix/libraries/libamxb#47 When unsubscribing slot disconnect must be done on a specific signal
|
||||
|
||||
## Release v2.14.0 - 2021-11-12(12:08:26 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa): It must be possible to filter get_supported messages based on ACL filters
|
||||
|
||||
### Fixes
|
||||
|
||||
- [libamxc](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc): Fixes test when daylight saving is off
|
||||
- [amxrt](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt): Fixes compilation issue for g++
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg): amxo-cg crashes when trying to parse prplMesh ODL files
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxp](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp): When signal is deleted in slot, the remaining slots must be called
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): ODL parser should pass function type to resolvers
|
||||
|
||||
## Release v2.13.0 - 2021-10-29(09:27:23 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli): [CLI][AMX] Add support for ACLs in the cli
|
||||
- [amxrt](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt): It must be possible to connect to uris without registering a data model
|
||||
|
||||
### Fixes
|
||||
|
||||
- [libamxp](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp): Restarting timers can lead to early sigalrm
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Infinite loop when removing parent object having underlying depth greater than 10
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Amxd_object_remove_mib removes mibs when they are not added
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg): amxo-cg sometimes doesn't properly detect passed filename
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager): [AMX] ACL merged directory must be writable
|
||||
|
||||
### Changes
|
||||
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg): Parse odl files in order given on commandline
|
||||
|
||||
## Release v2.12.0 - 2021-10-21(13:02:16 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo): Introduces function to add wait-for-write fd to event loop
|
||||
- [amxrt](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt): Listen to signals that indicate a wait-for-write fd must be added to the event loop
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Memory leak in amxb_ubus_has back-end interface implementation
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Amxd_path_get_type returns a bool
|
||||
- [libamxc](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc): Segmentation fault occurs when NULL pointer passed to amxc_var_dump or amxc_var_log
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): Always return index path
|
||||
|
||||
### Other
|
||||
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager): [BAF] add support for amx docgen
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager): [BAF] add support for amx docgen
|
||||
|
||||
## Release v2.11.0 - 2021-10-14(11:23:00 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Use longest possible path known by ubusd
|
||||
- [libamxc](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc): Make it possible to get the local time timestamp
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Extend the back-end interface to make it possible for a back-end to announce its capabilities and provide object discovery
|
||||
- [amxb-inspect](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxb-inspect): amxb inspect must verify functions `has` and `capabilities`
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager): [ACL] Add default ACL configuration per services
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): ubus blob must be initialized right before usage
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Error checking must be applied when registering data model objects
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Use longest possible path known by ubusd
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus): Updates README.md - adds missing ubus configuration option
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Extend the back-end interface to make it possible for a back-end to announce its capabilities and provide object discovery
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Fixes version check tests
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa): Don't clean acls in amxa_resolve_search_paths
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa): Remove object if all parameters are filtered out
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg): Parsing defaults values fails if parent is referenced by Alias
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxp](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp): Update implementation of ~= operator
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd): `_get` function must return multi-instance objects when access is protected
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Resolve search paths for objects if parent instance exists
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb): Use longest possible path for bus operations
|
||||
|
||||
### Other
|
||||
|
||||
- [amx-cli](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli): [CI] Update autogenerated files
|
||||
|
||||
## Release v2.10.2 - 2021-10-06(09:08:22 +0000)
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli): Fixes acl get verification
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa): When parameter paths are added to the filter list, they have a dot suffix
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa): Resolving search paths can fail for paths with a Device. prefix
|
||||
|
||||
## Release v2.10.1 - 2021-09-28(07:17:33 +0000)
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus): When using auto load with events turned off objects are not registered to bus
|
||||
- [libamxo](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo): Saved odl files with mib extensions can not be loaded
|
||||
- [libamxo](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo): it must be possible to indicate that an instance parameter must be saved in the header
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Key parameters must be validated when instance is created
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Instances with Alias parameter containing a dot can not be deleted
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): method amxd_object_for_all can be invoked on any object
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): It must be possible to indicate that amxc_var_get_path must not search positional if key is not found
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): Unexpected behavior of amxc_var_get_path
|
||||
- [libamxa](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxa): It is possible to bypass acl verification in object tree
|
||||
- [libamxa](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxa): [ACL] Make sure ACL verification works for Device path
|
||||
- [amxrt](https://gitlab.com/soft.at.home/ambiorix/applications/amxrt): When using auto load with events turned off objects are not registered to bus
|
||||
|
||||
### Changes
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli): Add acl verification for get
|
||||
- [libamxa](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxa): Resolving search paths is not needed if fixed part does not exist in acls
|
||||
- [libamxa](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxa): [ACL] [BAF] Configure default ACL directory variable in baf templates
|
||||
- [acl-manager](https://gitlab.com/soft.at.home/ambiorix/applications/acl-manager): [ACL] [BAF] Configure default ACL directory variable in baf templates
|
||||
|
||||
### Other
|
||||
|
||||
- [amxrt](https://gitlab.com/soft.at.home/ambiorix/applications/amxrt): Issue: ambiorix/applications/amxrt#34 Make sure eventing is enabled before entry-points are called
|
||||
- [acl-manager](https://gitlab.com/soft.at.home/ambiorix/applications/acl-manager): Move project to ambiorix/applications
|
||||
|
||||
## Release v2.10.0 - 2021-09-17(07:06:53 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [acl-manager](https://gitlab.com/soft.at.home/plugins/acl-manager): Component added
|
||||
|
||||
## Release v2.9.0 - 2021-09-15(14:54:15 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): Add functions to convert a string to capital/lower case.
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): [status macros] Add when_null_status macros in amxc
|
||||
- [libamxa](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxa): Component added
|
||||
|
||||
### Fixes
|
||||
|
||||
- [libamxp](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp): Disconnecting slots in slot callback function can lead to segmentation fault
|
||||
- [libamxp](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp): When child process is killed it stays in <defunc>
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): GCC11 archlinux compiler warning
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxp](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp): Adds support for bbf in operator ~=
|
||||
|
||||
### Other
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus): Turns on unit tests and coverage reports
|
||||
- [libamxt](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt): Generate junit xml files with unit-tests
|
||||
- [libamxt](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt): Issue: ambiorix/libraries/libamxt#6 Generate junit xml files with unit-tests
|
||||
- [libamxp](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp): Generate junit xml files with unit-tests
|
||||
- [libamxp](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp): Issue: ambiorix/libraries/libamxp#36 Generate junit xml files with unit-tests
|
||||
- [libamxm](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm): Generate junit xml files with unit-tests
|
||||
- [libamxm](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm): Issue: ambiorix/libraries/libamxm#5 Generate junit xml files with unit-tests
|
||||
- [libamxj](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj): Generate junit xml files with unit-tests
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): Generate junit xml files with unit-tests
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): Issue: ambiorix/libraries/libamxc#56 Generate junit xml files with unit-tests
|
||||
|
||||
## Release v2.8.0 - 2021-08-24(08:47:32 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [amxo-cg](https://gitlab.com/soft.at.home/ambiorix/applications/amxo-cg): Extra info needed in generated xml
|
||||
|
||||
### Fixes
|
||||
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Cannot remove last part from path if it ends with an asterisk
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Verifying if an object has a parameter can cause a segmentation fault
|
||||
|
||||
### Changes
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus): Tests must be added
|
||||
- [libamxc](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc): no more Shadow warning if nesting of ...for_each... macros is used
|
||||
|
||||
### Other
|
||||
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Issue: ambiorix/libraries/libamxd#102 Add macro to iterate over the content of objects that can be nested
|
||||
|
||||
## Release v2.7.0 - 2021-08-20(14:10:03 +0000)
|
||||
|
||||
### New
|
||||
|
||||
- [mod-dm-cli](https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-dm-cli): Component added
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli): Missing symlinks to /usr/bin/amx-cli on installation of the debian package
|
||||
|
||||
### Changes
|
||||
|
||||
- [mod-sahtrace](https://gitlab.com/soft.at.home/ambiorix/modules/mod-sahtrace): Use global sahtrace level for zones if no zone level is defined
|
||||
|
||||
## Release v2.6.2 - 2021-08-03(07:44:45 +0000)
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxt](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt): Auto detect file descriptor of terminal
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Make amxd_function_are_args_valid function public
|
||||
- [libamxd](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd): Destroy action callbacks must be called bottom-up
|
||||
- [libamxb](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxb): Make it possible to invoke RPC methods that are not under an object
|
||||
|
||||
## Release v2.6.1 - 2021-07-28(11:42:12 +0000)
|
||||
|
||||
### Fixes
|
||||
|
||||
- [mod-ba-cli](https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli): It must be possible to provide composite values to method arguments
|
||||
- [libamxj](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj): Fixes streamed reading from fd
|
||||
- [libamxj](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj): Fixes streaming parsing of json string
|
||||
|
||||
### Changes
|
||||
|
||||
- [libamxm](https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm): Updates .gitignore
|
||||
- [amxrt](https://gitlab.com/soft.at.home/ambiorix/applications/amxrt): Adds simple rbus autodoetect socket
|
||||
|
||||
60
README.md
Normal file
60
README.md
Normal file
@@ -0,0 +1,60 @@
|
||||
# Feed_amx
|
||||
|
||||
SoftAtHome feed of Openwrt packages for ambiorix components.
|
||||
|
||||
## Included components
|
||||
|
||||
Feed_amx includes the following components:
|
||||
|
||||
### Applications
|
||||
|
||||
- [acl-manager](https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager) - The ACL manager will monitor the ACL directory and merge ACL files together to create a single master ACL file per role.
|
||||
- [amx-cli](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli) - Ambiorix interactive CLI
|
||||
- [amx-fcgi](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi) - Ambiorix Fast CGI app for web-servers
|
||||
- [amxb-inspect](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxb-inspect) - Ambiorix Backend inspector/validation tool
|
||||
- [amxo-cg](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg) - Object Definition Language Compiler/Generator
|
||||
- [amxrt](https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt) - Data model runtime
|
||||
|
||||
### Examples
|
||||
|
||||
- [amx-webui](https://gitlab.com/prpl-foundation/components/ambiorix/examples/webui/webui) - Ambiorix webui example using amx-fcgi
|
||||
|
||||
### Libraries
|
||||
|
||||
- [libamxa](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa) - Access control verification
|
||||
- [libamxb](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb) - Bus agnostic C API (mediator)
|
||||
- [libamxc](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc) - Libamxc is a library containing data containers, implemented in ansi C (C99).
|
||||
- [libamxd](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd) - Data model C-API
|
||||
- [libamxj](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj) - JSON parser & generator using yajl and libamxc variants
|
||||
- [libamxm](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm) - modularity api, simplifies creation of add-ons (plug-ins, modules)
|
||||
- [libamxo](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo) - Ambiorix Object Definition Language library
|
||||
- [libamxp](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp) - Common patterns implementation
|
||||
- [libamxs](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs) - Data model synchronization C-API
|
||||
- [libamxt](https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt) - Common patterns implementation
|
||||
- [libsahtrace](https://gitlab.com/soft.at.home/logging/libsahtrace) - Small and flexible library to enable tracing and logging
|
||||
|
||||
### Modules
|
||||
|
||||
- [mod-amxb-ubus](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus) - Ubus Backend
|
||||
- [mod-ba-cli](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli) - Bus Agnostic Command Line Interface
|
||||
- [mod-dm-cli](https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-dm-cli) - Data Model Command Line Interface
|
||||
|
||||
### Other
|
||||
|
||||
These components are not managed by SoftAtHome.
|
||||
|
||||
- uriparser
|
||||
|
||||
## How to add feed_amx to your OpenWrt build
|
||||
|
||||
At the root of your OpenWrt tree, add the following to your `feeds.conf` file:
|
||||
|
||||
```sh
|
||||
src-git feed_amx git@gitlab.com:soft.at.home/buildsystems/openwrt/feed_amx.git;main
|
||||
```
|
||||
|
||||
Add the packages to your OpenWrt instance with the following commands:
|
||||
```sh
|
||||
./scripts/feeds update feed_amx #retrieve the feed from service/update to latest
|
||||
./scripts/feeds install -p feed_amx #make all of the feed packages available to the build
|
||||
```
|
||||
65
apps/acl-manager/Makefile
Normal file
65
apps/acl-manager/Makefile
Normal file
@@ -0,0 +1,65 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=acl-manager
|
||||
PKG_VERSION:=v0.5.12
|
||||
SHORT_DESCRIPTION:=The ACL manager will monitor the ACL directory and merge ACL files together to create a single master ACL file per role
|
||||
|
||||
PKG_SOURCE:=acl-manager-v0.5.12.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager/-/archive/v0.5.12
|
||||
PKG_HASH:=f1f891a9a9c92023d899c1ecbb051550d34d0590dbbd07b6c5b9e38172158938
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/acl-manager-v0.5.12
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
COMPONENT:=acl-manager
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
define SAHInit/Install
|
||||
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
|
||||
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/S10$(COMPONENT)
|
||||
endef
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/acl-manager
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxj
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +libamxa
|
||||
DEPENDS += +libsahtrace
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
The ACL manager will monitor the ACL directory and merge ACL files together to create a single master ACL file per role.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig 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) 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)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
|
||||
$(call SAHInit/Install)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
@@ -1,12 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amx-cli
|
||||
PKG_VERSION:=v0.2.13
|
||||
PKG_VERSION:=v0.2.20
|
||||
SHORT_DESCRIPTION:=Ambiorix interactive CLI
|
||||
|
||||
PKG_SOURCE:=amx-cli-v0.2.13.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amx-cli/-/archive/v0.2.13
|
||||
PKG_HASH:=ed91e2f1e07be7df555cb78d2ffb32679f989109de8896017b0c402fb6dc08a6
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.2.13
|
||||
PKG_SOURCE:=amx-cli-v0.2.20.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli/-/archive/v0.2.20
|
||||
PKG_HASH:=35be7935789dd9a0ed48ef123ddcbb3d594e2e20905c333a20340d2522a13fb0
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-cli-v0.2.20
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -18,8 +19,8 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(PKG_NAME)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amx-cli
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-cli
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxt
|
||||
@@ -31,6 +32,9 @@ define Package/$(PKG_NAME)
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Ambiorix interactive CLI
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
|
||||
77
apps/amx-fcgi/Makefile
Normal file
77
apps/amx-fcgi/Makefile
Normal file
@@ -0,0 +1,77 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amx-fcgi
|
||||
PKG_VERSION:=v0.2.3
|
||||
SHORT_DESCRIPTION:=Ambiorix Fast CGI app for web-servers
|
||||
|
||||
PKG_SOURCE:=amx-fcgi-v0.2.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi/-/archive/v0.2.3
|
||||
PKG_HASH:=0dc4b22ce4d5f1dc1c9620a75a33cb1e3b7b08179a51a6ea48196e2807e93203
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amx-fcgi-v0.2.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
COMPONENT:=amx-fcgi
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
define SAHInit/Install
|
||||
install -d ${PKG_INSTALL_DIR}/etc/rc.d/
|
||||
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/etc/rc.d/S99$(COMPONENT)
|
||||
endef
|
||||
|
||||
define SAHBackupRestore/Install
|
||||
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup
|
||||
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore
|
||||
install -d ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import
|
||||
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/backup/B10$(COMPONENT)
|
||||
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/restore/R10$(COMPONENT)
|
||||
ln -sfr ${PKG_INSTALL_DIR}/etc/init.d/$(COMPONENT) ${PKG_INSTALL_DIR}/usr/lib/hgwcfg/import/R10$(COMPONENT)
|
||||
endef
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amx-fcgi
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxj
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxa
|
||||
DEPENDS += +fcgi
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Ambiorix Fast CGI app for web-servers
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig 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) 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)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
|
||||
$(call SAHInit/Install)
|
||||
$(call SAHBackupRestore/Install)
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amxb-inspect
|
||||
PKG_VERSION:=v1.0.4
|
||||
PKG_VERSION:=v1.1.1
|
||||
SHORT_DESCRIPTION:=Ambiorix Backend inspector/validation tool
|
||||
|
||||
PKG_SOURCE:=amxb-inspect-v1.0.4.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect/-/archive/v1.0.4
|
||||
PKG_HASH:=33b92b1902652a8a0c57cb27e6c2daf3730287649382d2eb12fbf07faa0e0b16
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb-inspect-v1.0.4
|
||||
PKG_SOURCE:=amxb-inspect-v1.1.1.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxb-inspect/-/archive/v1.1.1
|
||||
PKG_HASH:=c9db622a2892929ca7f4b4d1423722264c87b3f55c29a64c897f1b52096a68a2
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb-inspect-v1.1.1
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxb-inspect
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxb-inspect
|
||||
DEPENDS += +libamxb
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amxo-cg
|
||||
PKG_VERSION:=v1.1.5
|
||||
PKG_VERSION:=v1.2.4
|
||||
SHORT_DESCRIPTION:=Object Definition Language Compiler/Generator
|
||||
|
||||
PKG_SOURCE:=amxo-cg-v1.1.5.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxo-cg/-/archive/v1.1.5
|
||||
PKG_HASH:=56693de36934309e83b27261fc6f9a3dc784029a39f4e4308f54f96df0106b9b
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.1.5
|
||||
PKG_SOURCE:=amxo-cg-v1.2.4.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg/-/archive/v1.2.4
|
||||
PKG_HASH:=5bff0b232a9e8d7ef0b3e2562d3da3311186300b12ea11a67e43923af99cc4b8
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxo-cg-v1.2.4
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxo-cg
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxo-cg
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxo
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amxrt
|
||||
PKG_VERSION:=v1.0.4
|
||||
PKG_VERSION:=v1.3.3
|
||||
SHORT_DESCRIPTION:=Data model runtime
|
||||
|
||||
PKG_SOURCE:=amxrt-v1.0.4.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxrt/-/archive/v1.0.4
|
||||
PKG_HASH:=7c28e1d81ae60ed6dd2da183bac62893b89ffb80a0436c8d366ff107744c4a8c
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v1.0.4
|
||||
PKG_SOURCE:=amxrt-v1.3.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt/-/archive/v1.3.3
|
||||
PKG_HASH:=f9708f5e4ff16d6da233f08711e02d0e1fa444a66802b3c6b814b4de162a837c
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxrt-v1.3.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/applications/amxrt
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/applications/amxrt
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxp
|
||||
|
||||
52
ex/amx-webui/Makefile
Normal file
52
ex/amx-webui/Makefile
Normal file
@@ -0,0 +1,52 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=amx-webui
|
||||
PKG_VERSION:=v0.1.0
|
||||
SHORT_DESCRIPTION:=Ambiorix webui example using amx-fcgi
|
||||
|
||||
PKG_SOURCE:=webui-v0.1.0.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/examples/webui/webui/-/archive/v0.1.0
|
||||
PKG_HASH:=702cc0420b8d72990ec38dd4d81bdc02e527b6693ea1ec99e2a28ffbacb5c889
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/webui-v0.1.0
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Applications
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/examples/webui/webui
|
||||
DEPENDS += +lighttpd
|
||||
DEPENDS += +amx-fcgi
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Ambiorix webui example using amx-fcgi
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig 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) 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)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-sahtrace
|
||||
PKG_VERSION:=v0.0.7
|
||||
SHORT_DESCRIPTION:=Module for sahtrace logging
|
||||
PKG_NAME:=libamxa
|
||||
PKG_VERSION:=v0.3.10
|
||||
SHORT_DESCRIPTION:=Access control verification
|
||||
|
||||
PKG_SOURCE:=mod-sahtrace-v0.0.7.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/mod-sahtrace/-/archive/v0.0.7
|
||||
PKG_HASH:=1242089b7fa343f73c3c4a9354869e53c197fcf620300383c8c36360bc3c8acf
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-sahtrace-v0.0.7
|
||||
PKG_SOURCE:=libamxa-v0.3.10.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa/-/archive/v0.3.10
|
||||
PKG_HASH:=5529b3be0fe401cae38930993978b8d40be3d563c3da8c4a4bd9b4b7263aa2ea
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxa-v0.3.10
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -18,18 +18,18 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Modules
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/modules/mod-sahtrace
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxa
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxj
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +libsahtrace
|
||||
DEPENDS += +libamxb
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Module for sahtrace logging
|
||||
Access control verification
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxb
|
||||
PKG_VERSION:=v3.2.1
|
||||
PKG_VERSION:=v3.5.14
|
||||
SHORT_DESCRIPTION:=Bus agnostic C API (mediator)
|
||||
|
||||
PKG_SOURCE:=libamxb-v3.2.1.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxb/-/archive/v3.2.1
|
||||
PKG_HASH:=d06025b25e25f9f658e35b0701c7fdca2eaa1668f19f8ba88f5f90ebd00831a7
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v3.2.1
|
||||
PKG_SOURCE:=libamxb-v3.5.14.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb/-/archive/v3.5.14
|
||||
PKG_HASH:=7d3214bc49dbeec3d94982eff21316108ba9f5cb89848868ebd9d97ef5054842
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxb-v3.5.14
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxb
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxb
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxd
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxc
|
||||
PKG_VERSION:=v1.1.0
|
||||
PKG_VERSION:=v1.4.3
|
||||
SHORT_DESCRIPTION:=Libamxc is a library containing data containers, implemented in ansi C (C99)
|
||||
|
||||
PKG_SOURCE:=libamxc-v1.1.0.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc/-/archive/v1.1.0
|
||||
PKG_HASH:=83f8620c1260d104e02fa45b066913dfb07c5bb3fe5cad5b981e05fc860227f2
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v1.1.0
|
||||
PKG_SOURCE:=libamxc-v1.4.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc/-/archive/v1.4.3
|
||||
PKG_HASH:=62a63fca7bb2efed67a08e971a2af2279a00a0bb1d63e193035cf88622f4e5d5
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxc-v1.4.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxc
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxc
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxd
|
||||
PKG_VERSION:=v3.0.6
|
||||
PKG_VERSION:=v3.2.15
|
||||
SHORT_DESCRIPTION:=Data model C-API
|
||||
|
||||
PKG_SOURCE:=libamxd-v3.0.6.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd/-/archive/v3.0.6
|
||||
PKG_HASH:=4a96764262e41e7769551ec729a61797d41d9cdfe0753c1a6595c185111117b5
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v3.0.6
|
||||
PKG_SOURCE:=libamxd-v3.2.15.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd/-/archive/v3.2.15
|
||||
PKG_HASH:=ab60119709923fe4c67f3d9171f4792797051188770dd010f5903bf63b362c20
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxd-v3.2.15
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxd
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxd
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
MENU:=1
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxj
|
||||
PKG_VERSION:=v0.3.18
|
||||
PKG_VERSION:=v0.3.35
|
||||
SHORT_DESCRIPTION:=JSON parser & generator using yajl and libamxc variants
|
||||
|
||||
PKG_SOURCE:=libamxj-v0.3.18.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj/-/archive/v0.3.18
|
||||
PKG_HASH:=f65bf6d01fa43587b41e898f8c685a7323512c7711f6ebc9acabf2c53f1bf2e7
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v0.3.18
|
||||
PKG_SOURCE:=libamxj-v0.3.35.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj/-/archive/v0.3.35
|
||||
PKG_HASH:=61bf49e695138d641c952df7a4b6d2aa13e07f04848f96e5987016c5049ebf83
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxj-v0.3.35
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxj
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxj
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +yajl
|
||||
MENU:=1
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxm
|
||||
PKG_VERSION:=v0.0.23
|
||||
PKG_VERSION:=v0.0.36
|
||||
SHORT_DESCRIPTION:=modularity api, simplifies creation of add-ons (plug-ins, modules)
|
||||
|
||||
PKG_SOURCE:=libamxm-v0.0.23.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm/-/archive/v0.0.23
|
||||
PKG_HASH:=da3d1209124d71c9e68926d104bf8c1cbb6cd85ed9ac228a1c212bd5fc99e17b
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.23
|
||||
PKG_SOURCE:=libamxm-v0.0.36.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm/-/archive/v0.0.36
|
||||
PKG_HASH:=a14bda07b53f3b248ecc7f358c57a8189de3e84a016881ced21ac1b68d135715
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxm-v0.0.36
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxm
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxm
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
MENU:=1
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxo
|
||||
PKG_VERSION:=v1.2.6
|
||||
PKG_VERSION:=v1.4.11
|
||||
SHORT_DESCRIPTION:=Ambiorix Object Definition Language library
|
||||
|
||||
PKG_SOURCE:=libamxo-v1.2.6.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo/-/archive/v1.2.6
|
||||
PKG_HASH:=14c32290216a1cb25dacba2646874fa553dabad273e5b2cb948c0fde82ecf937
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v1.2.6
|
||||
PKG_SOURCE:=libamxo-v1.4.11.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo/-/archive/v1.4.11
|
||||
PKG_HASH:=13a0525a284c731889b33599648a9858ec5aa6afe1b03537fba31eaf05fa77f1
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxo-v1.4.11
|
||||
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
|
||||
|
||||
@@ -20,7 +22,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxo
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxo
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxd
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxp
|
||||
PKG_VERSION:=v0.9.0
|
||||
PKG_VERSION:=v0.9.12
|
||||
SHORT_DESCRIPTION:=Common patterns implementation
|
||||
|
||||
PKG_SOURCE:=libamxp-v0.9.0.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp/-/archive/v0.9.0
|
||||
PKG_HASH:=8d3fec6557be2963f8149b784f1288456f138179e35e5f6f95bad866166714f2
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v0.9.0
|
||||
PKG_SOURCE:=libamxp-v0.9.12.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp/-/archive/v0.9.12
|
||||
PKG_HASH:=92d8a1c67c6e27f3166e007f1b23552de26f4a490b55d84e90228f93d974822a
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxp-v0.9.12
|
||||
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
|
||||
|
||||
@@ -20,7 +22,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxp
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxp
|
||||
DEPENDS += +libamxc
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
54
libs/libamxs/Makefile
Normal file
54
libs/libamxs/Makefile
Normal file
@@ -0,0 +1,54 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxs
|
||||
PKG_VERSION:=v0.1.0
|
||||
SHORT_DESCRIPTION:=Data model synchronization C-API
|
||||
|
||||
PKG_SOURCE:=libamxs-v0.1.0.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs/-/archive/v0.1.0
|
||||
PKG_HASH:=7b921e9f36fe53b2ec0c27e43d63c637911ee64fd48933a28b8416e460cd3469
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxs-v0.1.0
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxs
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxd
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Data model synchronization C-API
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig 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) 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)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libamxt
|
||||
PKG_VERSION:=v0.1.22
|
||||
PKG_VERSION:=v0.1.36
|
||||
SHORT_DESCRIPTION:=Common patterns implementation
|
||||
|
||||
PKG_SOURCE:=libamxt-v0.1.22.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt/-/archive/v0.1.22
|
||||
PKG_HASH:=b3840b9f1364b26482328f4838dd6e670b26521f8951950109f431022c3fecbb
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v0.1.22
|
||||
PKG_SOURCE:=libamxt-v0.1.36.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt/-/archive/v0.1.36
|
||||
PKG_HASH:=69422c1eba3e6ef1ca6bb7a974ed9952aabdb5b8cf84abfde29774a7e22c376b
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/libamxt-v0.1.36
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Libraries
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/libraries/libamxt
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/libraries/libamxt
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxp
|
||||
MENU:=1
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libsahtrace
|
||||
PKG_VERSION:=v1.0.0
|
||||
PKG_VERSION:=v1.8.0
|
||||
SHORT_DESCRIPTION:=Small and flexible library to enable tracing and logging
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/logging/libsahtrace/-/archive/$(PKG_VERSION)
|
||||
PKG_HASH:=6ee4a8b8e7ee39f94b731e9ca0aa0b342cf6565916033f39fb4ae99d3b758ab2
|
||||
PKG_HASH:=d1bebeb820de8c15028c9cf17c473eeb07454e4d88c21c8fac339015faa81ea5
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-amxb-ubus
|
||||
PKG_VERSION:=v2.0.21
|
||||
PKG_VERSION:=v2.2.11
|
||||
SHORT_DESCRIPTION:=Ubus Backend
|
||||
|
||||
PKG_SOURCE:=amxb_ubus-v2.0.21.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v2.0.21
|
||||
PKG_HASH:=d0a20b8240e6fc5b5d97ba63fabbca2fdab1f7780af2b485e3083ecd14c1f4c1
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v2.0.21
|
||||
PKG_SOURCE:=amxb_ubus-v2.2.11.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus/-/archive/v2.2.11
|
||||
PKG_HASH:=c551ac10c63b41fc71b4fdfa25db8b125408cc5113be1dbef438c0ec419345f8
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/amxb_ubus-v2.2.11
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Modules
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_ubus
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amxb_backends/amxb_ubus
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxd
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-ba-cli
|
||||
PKG_VERSION:=v0.3.2
|
||||
PKG_VERSION:=v0.4.1
|
||||
SHORT_DESCRIPTION:=Bus Agnostic Command Line Interface
|
||||
|
||||
PKG_SOURCE:=mod-ba-cli-v0.3.2.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.3.2
|
||||
PKG_HASH:=skip
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.3.2
|
||||
PKG_SOURCE:=mod-ba-cli-v0.4.1.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli/-/archive/v0.4.1
|
||||
PKG_HASH:=c3fe993557d55bfe38938aadbc66607667a8e9c818566ccb0772b0cc1d9aa6e7
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-ba-cli-v0.4.1
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
@@ -20,7 +20,7 @@ define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Modules
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/soft.at.home/ambiorix/modules/amx_cli/mod-ba-cli
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-ba-cli
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxt
|
||||
DEPENDS += +libamxm
|
||||
@@ -28,6 +28,7 @@ define Package/$(PKG_NAME)
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +libamxa
|
||||
DEPENDS += +amx-cli
|
||||
MENU:=1
|
||||
endef
|
||||
@@ -37,18 +38,18 @@ 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 RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include)
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig RAW_VERSION=$(PKG_VERSION) HARDCO_HAL_DIR=$(STAGING_DIR)/usr/include CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
|
||||
endef
|
||||
|
||||
define Build/Install
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_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)
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(PKG_INSTALL_DIR) DEST=$(PKG_INSTALL_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_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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)
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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_BA_CLI_INSTALL_UBUS_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_UBUS_CLI) CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI=$(CONFIG_SAH_MOD_BA_CLI_INSTALL_PCB_CLI))
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
|
||||
58
mods/mod-dm-cli/Makefile
Normal file
58
mods/mod-dm-cli/Makefile
Normal file
@@ -0,0 +1,58 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mod-dm-cli
|
||||
PKG_VERSION:=v0.2.3
|
||||
SHORT_DESCRIPTION:=Data Model Command Line Interface
|
||||
|
||||
PKG_SOURCE:=mod-dm-cli-v0.2.3.tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-dm-cli/-/archive/v0.2.3
|
||||
PKG_HASH:=0b565ae3a6426746cbfa3a60b26dfdf92b0b449421bfccb65bd0238032f7e247
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/mod-dm-cli-v0.2.3
|
||||
PKG_MAINTAINER:=Soft At Home <support.opensource@softathome.com>
|
||||
PKG_LICENSE:=BSD-2-Clause-Patent
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
CATEGORY:=ambiorix
|
||||
SUBMENU:=Modules
|
||||
TITLE:=$(SHORT_DESCRIPTION)
|
||||
URL:=https://gitlab.com/prpl-foundation/components/ambiorix/modules/amx_cli/mod-dm-cli
|
||||
DEPENDS += +libamxc
|
||||
DEPENDS += +libamxt
|
||||
DEPENDS += +libamxm
|
||||
DEPENDS += +libamxp
|
||||
DEPENDS += +libamxd
|
||||
DEPENDS += +libamxb
|
||||
DEPENDS += +libamxo
|
||||
DEPENDS += +amx-cli
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Data Model Command Line Interface
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, STAGINGDIR=$(STAGING_DIR) CONFIGDIR=$(STAGING_DIR) PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig 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) 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)
|
||||
find $(PKG_INSTALL_DIR) -name *.a -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.h -exec rm {} +;
|
||||
find $(PKG_INSTALL_DIR) -name *.pc -exec rm {} +;
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(call Build/Install/Default, install INSTALL=install D=$(STAGING_DIR) DEST=$(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
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
Reference in New Issue
Block a user