Skip to content

[BUG] The refresh.sh all exited when matching debug defconfig #15530

@JianyuWang0623

Description

@JianyuWang0623

Description / Steps to reproduce the issue

The refresh.sh all exited when matching debug defconfig
Should continue to refresh other configs as parameter "all" added
test command

./tools/refresh.sh --silent --defaults all
+ echo '  Normalize sim/thermal'
  Normalize sim/thermal
++ echo sim/thermal
++ cut -s -d: -f2
+ CONFIGSUBDIR=
+ '[' -z '' ']'
++ echo sim/thermal
++ cut -s -d/ -f2
+ CONFIGSUBDIR=thermal
+ '[' -z thermal ']'
++ echo sim/thermal
++ cut -d/ -f1
+ BOARDSUBDIR=sim
+ BOARDDIR=sim/thermal
+ '[' '!' -d sim/thermal ']'
+ BOARDDIR=/home/dramalife/upstream/github/nuttx/sim/thermal
+ '[' -d /home/dramalife/upstream/github/nuttx/sim/thermal ']'
+ BOARDDIR='boards/*/*/sim'
+ SCRIPTSDIR='boards/*/*/sim/scripts'
+ MAKEDEFS1='boards/*/*/sim/scripts/Make.defs'
+ CONFIGDIR='boards/*/*/sim/configs/thermal'
+ DEFCONFIG='boards/*/*/sim/configs/thermal/defconfig'
+ MAKEDEFS2='boards/*/*/sim/configs/thermal/Make.defs'
+ SCRIPTSDIR2='boards/*/*/sim/../common/scripts'
+ MAKEDEFS3='boards/*/*/sim/../common/scripts/Make.defs'
+ '[' '!' -d boards/sim/sim/sim ']'
+ '[' '!' -d boards/sim/sim/sim/configs/thermal ']'
+ '[' '!' -r boards/sim/sim/sim/configs/thermal/defconfig ']'
+ '[' -r 'boards/*/*/sim/configs/thermal/Make.defs' ']'
+ '[' -r boards/sim/sim/sim/scripts/Make.defs ']'
+ MAKEDEFS='boards/*/*/sim/scripts/Make.defs'
+ grep -q '#include' boards/sim/sim/sim/configs/thermal/defconfig
+ echo 'Note: skipping refresh for debug defconfig.'
Note: skipping refresh for debug defconfig.
+ exit 0

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 22.04.3 LTS \n \l

NuttX Version

master

Issue Architecture

[Arch: all]

Issue Area

[Area: Configuring]

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: allIssues that apply to all architecturesArea: ConfiguringConfiguring issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions