nuttx/tools/configure.sh

305 lines
8.0 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
# tools/configure.sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
set -e
WD=`test -d ${0%/*} && cd ${0%/*}; pwd`
TOPDIR="${WD}/.."
MAKECMD="make"
USAGE="
USAGE: ${0} [-E] [-e] [-l|m|c|g|n|B] [L] [-a <app-dir>] <board-name>:<config-name> [make-opts]
Where:
-E enforces distclean if already configured.
-e performs distclean if configuration changed.
-l selects the Linux (l) host environment.
-m selects the macOS (m) host environment.
-c selects the Windows host and Cygwin (c) environment.
2018-05-31 19:53:09 +02:00
-g selects the Windows host and MinGW/MSYS environment.
-n selects the Windows host and Windows native (n) environment.
-B selects the *BSD (B) host environment.
Default: Use host setup in the defconfig file
Default Windows: Cygwin
-L Lists all available configurations.
-a <app-dir> is the path to the apps/ directory, relative to the nuttx
directory
Merged in alinjerpelea/nuttx (pull request #963) Move boards to boards folder * boards: rename configs folder to boards This is the proposed layout after the change: boards: - folder containing board folders <board>: - name of each board drivers: - extra drivers specific for platform include: - header files for the boars scripts: - extra scripts specific for platform src: - board specific code tools: - extra tools specific for platform <config>: - board specific configuration(s) Note: <xxx> names are dependent on platform This is a logical change to aim to the arch layout but this is a huge change it should be done in several steps to lower the risk. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Kconfig: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile.*: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Make.defs: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .sh: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .mk: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .c & .h: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .bat: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 14:04:14 +02:00
<board-name> is the name of the board in the boards directory
Merged in alinjerpelea/nuttx (pull request #964) move board configs to configs folder * amber: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * arduino-due: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * arduino-mega: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * avr32dev1: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * axoloti: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * b-l072z-lrwan1: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * b-l475e-iot01a: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * bambino-200e: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * beaglebone-black: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * c5471evm: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * clicker2-stm32: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * cloudctrl: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * demo9s12ne64: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * dk-tm4c129x: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ea3131: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ea3152: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * eagle100: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * efm32-g8xx-stk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * efm32gg-stk3700: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ekk-lm3s9b96: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * esp32-core: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ez80f910200kitg: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ez80f910200zco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * fire-stm32v2: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * flipnclick-pic32mz: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * flipnclick-sam3x: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * freedom-k28f: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * freedom-k64f: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * freedom-k66f: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * freedom-k125z: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * freedom-k126z: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * gapuino: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * hymini-stm32v: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * imxrt1050-evk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * imxrt1060-evk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * kwikstik-k40: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * launchxl-cc1310: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * launchxl-cc1312r1: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * launchxl-tms57004: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lc823450-xgevk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lincoln60: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lm3s6432-s2e: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lm3s6965-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lm3s8962-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lm4f120-launchpad: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4088-devkit: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4088-quickstart: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4330-xplorer: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4337-ws: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4357-evb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpc4370-link2: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpcxpresso-lpc1768: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * lpcxpresso-lpc54628: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * makerlisp: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * maple: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * max32660-evsys: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mbed: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mbc1700: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mcu123-lpc214x: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * metro-m4: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * micropendous3: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mikroe-stm32f4: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mirtoo: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * misoc: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * moteino-mega: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * moxa: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ne64badge: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nr5m100-nexys4: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nrf52-generic: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ntosd-dm320: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-144: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f072rb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f091rc: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f103rb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f207zg: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f302r8: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f303re: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f303ze: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f334r8: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f410rb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f446re: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-f4x1re: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-g071rb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-h743zi: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l073rz: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l152re: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l432kc: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l452re: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l476rg: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nucleo-l496zg: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * nutiny-nuc120: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-efm32g880f128-stk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-lpc-h3131: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-lpc1766stk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-lpc2378: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-e407: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-h405: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-h407: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-p107: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-p207: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-stm32-p407: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimex-strp711: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * olimexino-stm32: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * omnibusf4: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * open1788: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * or1k: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * p112: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * pcduino-a10: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * photon: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * pic32mx-starterkit: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * pic32mx7mmb: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * pic32mz-starterkit: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * pnev5180b: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * qemu-i486: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sabre-6quad: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam3u-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam4cmp-db: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam4e-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam4l-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam4s-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sam4s-xplained-pro: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sama5d2-xult: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sama5d3-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sama5d3x-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sama5d4-ek: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * samd20-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * samd21-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * same70-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * saml21-xplained: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * samv71-xult: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * shenzhou: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sim: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * skp16c26: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * spresense: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm3210e-eval: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm3220g-eval: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm3240g-eval: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32_tiny: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32butterfly2: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f051-discovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f072-discovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f103-minimum: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f334-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f3discovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f411e-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f429i-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f4discovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f746-ws: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f746g-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32f769i-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32l476-mdk: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32l476vg-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32l4r9ai-disco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32ldiscovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * stm32vldiscovery: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sure-pic32mx: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * teensy-2.0: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * teensy-3.x: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * teensy-lc: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * tm4c123g-launchpad: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * tm4c1294-launchpad: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * tms570ls31x-usb-kit: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * twr-k60n512: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * twr-k64f120m: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * u-blox-c027: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * ubw32: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * viewtool-stm32f107: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * us7032evb1: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * xmc4500-relax: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * z16f2800100zcog: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * z80sim: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * z8encore000zco: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * z8f64200100kit: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * zkit-arm-1769: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * zp214xpa: move board configs to configs folder This is a cleanup that will move all configs from the board folder to a board/configs folder NOTE: The configure.sh script must be used with the new path <board-name>/configs/<config-name> Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * tools: configure.sh: adjust the script to use boards/configs folder Script update to pick the configs from the new configuration folder Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * tools: configure.bat: adjust the script to use boards/configs folder Now we update the script to pick the configs from the new configuration folder Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 16:30:34 +02:00
configs/<config-name> is the name of the board configuration sub-directory
make-opts directly pass to make
"
# A list of optional files that may be installed
OPTFILES="\
.gdbinit\
.cproject\
.project\
"
# Parse command arguments
unset boardconfig
unset winnative
unset appdir
unset host
unset enforce_distclean
unset distclean
function dumpcfgs
{
configlist=`find ${TOPDIR}/boards -name defconfig`
for defconfig in ${configlist}; do
config=`dirname ${defconfig} | sed -e "s,${TOPDIR}/boards/,,g"`
boardname=`echo ${config} | cut -d'/' -f3`
configname=`echo ${config} | cut -d'/' -f5`
echo " ${boardname}:${configname}"
done
}
while [ ! -z "$1" ]; do
case "$1" in
-a )
shift
appdir=$1
;;
-c | -g | -l | -m )
winnative=n
host+=" $1"
;;
-n )
winnative=y
host+=" $1"
;;
-B )
winnative=n
host+=" $1"
MAKECMD="gmake"
;;
-E )
enforce_distclean=y
;;
-e )
distclean=y
;;
-h )
echo "$USAGE"
exit 0
;;
-L )
dumpcfgs
exit 0
;;
*)
boardconfig=$1
shift
break
;;
esac
shift
done
# Sanity checking
if [ -z "${boardconfig}" ]; then
echo "" 1>&2
echo "Missing <board/config> argument" 1>&2
echo "$USAGE" 1>&2
exit 2
fi
configdir=`echo ${boardconfig} | cut -s -d':' -f2`
if [ -z "${configdir}" ]; then
boarddir=`echo ${boardconfig} | cut -d'/' -f1`
configdir=`echo ${boardconfig} | cut -d'/' -f2`
else
boarddir=`echo ${boardconfig} | cut -d':' -f1`
fi
configpath=${TOPDIR}/boards/*/*/${boarddir}/configs/${configdir}
if [ ! -d ${configpath} ]; then
# Try direct path used with custom configurations.
configpath=${TOPDIR}/${boardconfig}
if [ ! -d ${configpath} ]; then
configpath=${boardconfig}
if [ ! -d ${configpath} ]; then
echo "Directory for ${boardconfig} does not exist." 1>&2
echo "" 1>&2
echo "Run tools/configure.sh -L to list available configurations." 1>&2
echo "$USAGE" 1>&2
exit 3
fi
fi
fi
src_makedefs=${TOPDIR}/boards/*/*/${boarddir}/configs/${configdir}/Make.defs
dest_makedefs="${TOPDIR}/Make.defs"
if [ ! -r ${src_makedefs} ]; then
src_makedefs=${TOPDIR}/boards/*/*/${boarddir}/scripts/Make.defs
if [ ! -r ${src_makedefs} ]; then
src_makedefs=${configpath}/Make.defs
if [ ! -r ${src_makedefs} ]; then
src_makedefs=${configpath}/../../scripts/Make.defs
if [ ! -r ${src_makedefs} ]; then
echo "File Make.defs could not be found"
exit 4
fi
fi
fi
fi
src_config=${configpath}/defconfig
dest_config="${TOPDIR}/.config"
backup_config="${TOPDIR}/defconfig"
if [ ! -r ${src_config} ]; then
echo "File ${src_config} does not exist"
exit 5
fi
if [ -r ${dest_config} ]; then
if [ "X${enforce_distclean}" = "Xy" ]; then
${MAKECMD} -C ${TOPDIR} distclean
else
if cmp -s ${src_config} ${backup_config}; then
echo "No configuration change."
exit 0
fi
if [ "X${distclean}" = "Xy" ]; then
${MAKECMD} -C ${TOPDIR} distclean
else
echo "Already configured!"
echo "Please 'make distclean' and try again."
exit 6
fi
fi
fi
# Extract values needed from the defconfig file. We need:
# (1) The CONFIG_WINDOWS_NATIVE setting to know it this is target for a
# native Windows
# (2) The CONFIG_APPS_DIR setting to see if there is a configured location for the
# application directory. This can be overridden from the command line.
# If we are going to some host other than windows native or to a windows
# native host, then don't even check what is in the defconfig file.
oldnative=`grep CONFIG_WINDOWS_NATIVE= ${src_config} | cut -d'=' -f2`
if [ -z "${oldnative}" ]; then
oldnative=n
fi
if [ -z "${winnative}" ]; then
winnative=$oldnative
fi
# If no application directory was provided on the command line and we are
# switching between a windows native host and some other host then ignore the
# path to the apps/ directory in the defconfig file. It will most certainly
# not be in a usable form.
defappdir=y
if [ -z "${appdir}" -a "X$oldnative" = "$winnative" ]; then
quoted=`grep "^CONFIG_APPS_DIR=" ${src_config} | cut -d'=' -f2`
if [ ! -z "${quoted}" ]; then
appdir=`echo ${quoted} | sed -e "s/\"//g"`
defappdir=n
fi
fi
# Check for the apps/ directory in the usual place if appdir was not provided
if [ -z "${appdir}" ]; then
# Check for a version file
unset CONFIG_VERSION_STRING
if [ -x "${TOPDIR}/.version" ]; then
. "${TOPDIR}/.version"
fi
# Check for an unversioned apps/ directory
2014-04-14 00:22:22 +02:00
if [ -d "${TOPDIR}/../apps" ]; then
appdir="../apps"
else
# Check for a versioned apps/ directory
if [ -d "${TOPDIR}/../apps-${CONFIG_VERSION_STRING}" ]; then
appdir="../apps-${CONFIG_VERSION_STRING}"
2014-04-14 00:22:22 +02:00
fi
fi
fi
# For checking the apps dir path, we need a POSIX version of the relative path.
posappdir=`echo "${appdir}" | sed -e 's/\\\\/\\//g'`
winappdir=`echo "${appdir}" | sed -e 's/\\//\\\\\\\/g'`
# If appsdir was provided (or discovered) then make sure that the apps/
# directory exists
if [ ! -z "${appdir}" -a ! -d "${TOPDIR}/${posappdir}" ]; then
echo "Directory \"${TOPDIR}/${posappdir}\" does not exist"
exit 7
fi
# Okay... Everything looks good. Setup the configuration
echo " Copy files"
install -m 644 ${src_makedefs} "${dest_makedefs}" || \
{ echo "Failed to copy ${src_makedefs}" ; exit 8 ; }
install -m 644 ${src_config} "${dest_config}" || \
{ echo "Failed to copy ${src_config}" ; exit 9 ; }
install -m 644 ${src_config} "${backup_config}" || \
{ echo "Failed to backup ${src_config}" ; exit 10 ; }
# Install any optional files
for opt in ${OPTFILES}; do
test -f ${configpath}/${opt} && install ${configpath}/${opt} "${TOPDIR}/"
done
# If we did not use the CONFIG_APPS_DIR that was in the defconfig config file,
# then append the correct application information to the tail of the .config
# file
if [ "X${defappdir}" = "Xy" ]; then
# In-place edit can mess up permissions on Windows
# sed -i.bak -e "/^CONFIG_APPS_DIR/d" "${dest_config}"
sed -e "/^CONFIG_APPS_DIR/d" "${dest_config}" > "${dest_config}-temp"
mv "${dest_config}-temp" "${dest_config}"
if [ "X${winnative}" = "Xy" ]; then
echo "CONFIG_APPS_DIR=\"$winappdir\"" >> "${dest_config}"
else
echo "CONFIG_APPS_DIR=\"$posappdir\"" >> "${dest_config}"
fi
2014-04-14 00:22:22 +02:00
fi
# The saved defconfig files are all in compressed format and must be
# reconstitued before they can be used.
${TOPDIR}/tools/sethost.sh $host $*