diff options
author | Anas Nashif <anas.nashif@intel.com> | 2015-10-09 06:20:52 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2016-02-05 20:24:52 -0500 |
commit | 77ba3c3b8b44342a89d9f91488a069113b978158 (patch) | |
tree | 01d3a7a5e523892e72235c7f4b795fa8e155317d /Kconfig.zephyr | |
parent | b2bbf5a7b71f5f8c176d5ba94350a899dc979b6b (diff) |
kconfig: define architecture as a kconfig variable
Do not depend on environment variables and use a kconfig variable
for defining the architecture.
In addition, remove the X86_32 variable, it just duplicates X86 for
not good reason, at least until start supporting MCUs with 64bit.
Change-Id: Ia001db81ed007e6a43f34506fed9be1345b88a4b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Kconfig.zephyr')
-rw-r--r-- | Kconfig.zephyr | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/Kconfig.zephyr b/Kconfig.zephyr index 05c67f986..bdd3bacaf 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -15,24 +15,17 @@ # See the License for the specific language governing permissions and # limitations under the License. # - -config SRCARCH +config KERNELVERSION string - option env="SRCARCH" + option env="KERNELVERSION" -source "arch/$SRCARCH/Kconfig" +source "arch/Kconfig" +source "kernel/Kconfig" -config ARCH - string - option env="ARCH" +source "drivers/Kconfig" -config KERNELVERSION - string - option env="KERNELVERSION" +source "net/Kconfig" + +source "misc/Kconfig" -config DEFCONFIG_LIST - string - option defconfig_list - default "$ARCH_DEFCONFIG" - default "arch/$ARCH/defconfig" |