sys/div: Add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-04-20 14:44:01 +02:00
parent c1edcd9fd2
commit 34715621cf
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 14 additions and 0 deletions

View File

@ -7,6 +7,7 @@
menu "System"
rsource "auto_init/Kconfig"
rsource "div/Kconfig"
rsource "net/Kconfig"
rsource "Kconfig.newlib"
rsource "Kconfig.stdio"

13
sys/div/Kconfig Normal file
View File

@ -0,0 +1,13 @@
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_DIV
bool "Integer division"
depends on TEST_KCONFIG
help
Provides some integer division functions that can be used to prevent
linking in compiler-generated ones, which are often larger.