forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Fix build issues with arm-clang
The arm-clang compiler/linker does not optimize away unused function symbols and thus will error if symbols that are referenced are not defined. To fix this add needed ifdef'ry. Build various network samples that utilize ethernet but don't have CONFIG_NET_PROMISCUOUS_MODE will get a link error for: Error: L6218E: Undefined symbol net_mgmt_NET_REQUEST_ETHERNET_SET_PROMISC_MODE (referred from ethernet.o). Fix by adding ifdef protection around promisc code. Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
1 parent
a01d40f
commit 0090ad7
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters