12
0
Fork
You've already forked rust-examples
0

moving Makefile.cargo makes for easier integration #2

Open
opened 2019年09月18日 12:58:57 +02:00 by kfessel · 3 comments
kfessel commented 2019年09月18日 12:58:57 +02:00 (Migrated from gitlab.com)
Copy link

Hi Christian,
just saw your talk and tried (to compile) the examples. when i did i stumbled on the Makefile.cargo ifeq(Board..) so i tried to get the information from that RIOT already gathered and changed the Make file accordingly, than i moved it to its own directory named it Makefile.include and let the Riot Makefile System do the work by giving it EXTERNAL_MODULE_DIRS += ../cargo as a Hint. This should work for RIOTs current set of ARM Cortex-Ms.

see Attachment

0001-made-Makefile.cargo-useable-as-EXTERNAL_MODULE.patch

Hi Christian, just saw your talk and tried (to compile) the examples. when i did i stumbled on the Makefile.cargo `ifeq(Board..)` so i tried to get the information from that RIOT already gathered and changed the Make file accordingly, than i moved it to its own directory named it Makefile.include and let the Riot Makefile System do the work by giving it `EXTERNAL_MODULE_DIRS += ../cargo` as a Hint. This should work for RIOTs current set of ARM Cortex-Ms. see Attachment [0001-made-Makefile.cargo-useable-as-EXTERNAL_MODULE.patch](/uploads/13c300873ecbd91b19f4eac49ef0eebf/0001-made-Makefile.cargo-useable-as-EXTERNAL_MODULE.patch)
kfessel commented 2019年09月18日 14:39:17 +02:00 (Migrated from gitlab.com)
Copy link

changed title from moving Makefile.cargo makes for eas{-ys-}ier integration to moving Makefile.cargo makes for easier integration

changed title from **moving Makefile.cargo makes for eas{-ys-}ier integration** to **moving Makefile.cargo makes for easier integration**
kfessel commented 2019年09月18日 14:39:17 +02:00 (Migrated from gitlab.com)
Copy link

changed the description

changed the description
kfessel commented 2019年09月18日 15:00:48 +02:00 (Migrated from gitlab.com)
Copy link

I changed the Makefile.include to use BINDIR for the rust build

0001-let-cargo-build-to-BINDIR.patch

I changed the Makefile.include to use BINDIR for the rust build [0001-let-cargo-build-to-BINDIR.patch](/uploads/8bbc5131aadc81a07d8faf7813412ef1/0001-let-cargo-build-to-BINDIR.patch)
Sign in to join this conversation.
No Branch/Tag specified
main
ci-update
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RIOT/rust-examples#2
Reference in a new issue
RIOT/rust-examples
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?