History

kconfig: convert to SPDX License Identifier

All files in lxdialog/ are licensed under GPL-2.0+, and the rest are under GPL-2.0. I added GPL-2.0 tags to test scripts in tests/. Documentation/process/license-rules.rst does not suggest anything about the flex/bison files. Because flex does not accept the C++ comment style at the very top of a file, I used the C style for zconf.l, and so for zconf.y for consistency.

Masahiro Yamada committed 7 years ago

Commit 0c874101 parent 979f2b242 files · +57 −140Browse files

Showing the changes to scripts (42 of 42 files). Show all

Unified · Split

42 files
  1. scripts/kconfig/conf.c +1 −1
  2. scripts/kconfig/confdata.c +1 −1
  3. scripts/kconfig/expr.c +1 −1
  4. scripts/kconfig/expr.h +1 −1
  5. scripts/kconfig/gconf.c +1 −4
  6. scripts/kconfig/images.c +1 −1
  7. scripts/kconfig/lkc.h +1 −1
  8. scripts/kconfig/lxdialog/checklist.c +1 −14
  9. scripts/kconfig/lxdialog/dialog.h +1 −14
  10. scripts/kconfig/lxdialog/inputbox.c +1 −14
  11. scripts/kconfig/lxdialog/menubox.c +1 −14
  12. scripts/kconfig/lxdialog/textbox.c +1 −14
  13. scripts/kconfig/lxdialog/util.c +1 −14
  14. scripts/kconfig/lxdialog/yesno.c +1 −14
  15. scripts/kconfig/mconf.c +1 −1
  16. scripts/kconfig/menu.c +1 −1
  17. scripts/kconfig/merge_config.sh +2 −9
  18. scripts/kconfig/nconf.c +2 −3
  19. scripts/kconfig/nconf.gui.c +2 −3
  20. scripts/kconfig/nconf.h +2 −3
  21. scripts/kconfig/qconf.cc +1 −1
  22. scripts/kconfig/qconf.h +1 −1
  23. scripts/kconfig/streamline_config.pl +1 −1
  24. scripts/kconfig/symbol.c +1 −1
  25. scripts/kconfig/tests/auto_submenu/Kconfig +2 −0
  26. scripts/kconfig/tests/auto_submenu/__init__.py +1 −0
  27. scripts/kconfig/tests/choice/Kconfig +2 −0
  28. scripts/kconfig/tests/choice/__init__.py +1 −0
  29. scripts/kconfig/tests/choice_value_with_m_dep/Kconfig +2 −0
  30. scripts/kconfig/tests/choice_value_with_m_dep/__init__.py +1 −0
  31. scripts/kconfig/tests/err_recursive_inc/__init__.py +1 −0
  32. scripts/kconfig/tests/inter_choice/Kconfig +2 −0
  33. scripts/kconfig/tests/inter_choice/__init__.py +1 −0
  34. scripts/kconfig/tests/new_choice_with_dep/Kconfig +2 −0
  35. scripts/kconfig/tests/new_choice_with_dep/__init__.py +1 −0
  36. scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig +2 −0
  37. scripts/kconfig/tests/no_write_if_dep_unmet/__init__.py +1 −0
  38. scripts/kconfig/tests/rand_nested_choice/Kconfig +2 −0
  39. scripts/kconfig/tests/rand_nested_choice/__init__.py +1 −0
  40. scripts/kconfig/util.c +1 −2
  41. scripts/kconfig/zconf.l +4 −4
  42. scripts/kconfig/zconf.y +2 −2
scripts/kconfig/conf.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <ctype.h>6#include <ctype.h>
scripts/kconfig/confdata.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <sys/stat.h>6#include <sys/stat.h>
scripts/kconfig/expr.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <stdio.h>6#include <stdio.h>
scripts/kconfig/expr.h+1−1
@@ -1,6 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#ifndef EXPR_H6#ifndef EXPR_H
scripts/kconfig/gconf.c+1−4
@@ -1,9 +1,6 @@
1/* Hey EMACS -*- linux-c -*- */1// SPDX-License-Identifier: GPL-2.0
2/*2/*
3 *
4 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info>3 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info>
5 * Released under the terms of the GNU GPL v2.0.
6 *
7 */4 */
8 5
9#ifdef HAVE_CONFIG_H6#ifdef HAVE_CONFIG_H
scripts/kconfig/images.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6static const char *xpm_load[] = {6static const char *xpm_load[] = {
scripts/kconfig/lkc.h+1−1
@@ -1,6 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#ifndef LKC_H6#ifndef LKC_H
scripts/kconfig/lxdialog/checklist.c+1−14
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * checklist.c -- implements the checklist box3 * checklist.c -- implements the checklist box
3 *4 *
@@ -5,20 +6,6 @@ · 1 unmodified line
5 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension6 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
6 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two7 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
7 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)8 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 */9 */
23 10
24#include "dialog.h"11#include "dialog.h"
scripts/kconfig/lxdialog/dialog.h+1−14
@@ -1,21 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0+ */
1/*2/*
2 * dialog.h -- common declarations for all dialog modules3 * dialog.h -- common declarations for all dialog modules
3 *4 *
4 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */6 */
20 7
21#include <sys/types.h>8#include <sys/types.h>
scripts/kconfig/lxdialog/inputbox.c+1−14
@@ -1,22 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * inputbox.c -- implements the input box3 * inputbox.c -- implements the input box
3 *4 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)6 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */7 */
21 8
22#include "dialog.h"9#include "dialog.h"
scripts/kconfig/lxdialog/menubox.c+1−14
@@ -1,22 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * menubox.c -- implements the menu box3 * menubox.c -- implements the menu box
3 *4 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcapw@cfw.com)6 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcapw@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */7 */
21 8
22/*9/*
scripts/kconfig/lxdialog/textbox.c+1−14
@@ -1,22 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * textbox.c -- implements the text box3 * textbox.c -- implements the text box
3 *4 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)6 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */7 */
21 8
22#include "dialog.h"9#include "dialog.h"
scripts/kconfig/lxdialog/util.c+1−14
@@ -1,22 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * util.c3 * util.c
3 *4 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)6 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */7 */
21 8
22#include <stdarg.h>9#include <stdarg.h>
scripts/kconfig/lxdialog/yesno.c+1−14
@@ -1,22 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0+
1/*2/*
2 * yesno.c -- implements the yes/no box3 * yesno.c -- implements the yes/no box
3 *4 *
4 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)5 * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
5 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)6 * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */7 */
21 8
22#include "dialog.h"9#include "dialog.h"
scripts/kconfig/mconf.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 *4 *
5 * Introduced single menu mode (show all sub-menus in one large tree).5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
scripts/kconfig/menu.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <ctype.h>6#include <ctype.h>
scripts/kconfig/merge_config.sh+2−9
@@ -1,4 +1,6 @@
1#!/bin/sh1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3#
2# merge_config.sh - Takes a list of config fragment values, and merges4# merge_config.sh - Takes a list of config fragment values, and merges
3# them one by one. Provides warnings on overridden values, and specified5# them one by one. Provides warnings on overridden values, and specified
4# values that did not make it to the resulting .config file (due to missed6# values that did not make it to the resulting .config file (due to missed
@@ -10,15 +12,6 @@ · 5 unmodified lines
10#12#
11# Copyright (c) 2009-2010 Wind River Systems, Inc.13# Copyright (c) 2009-2010 Wind River Systems, Inc.
12# Copyright 2011 Linaro14# Copyright 2011 Linaro
13#
14# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21# See the GNU General Public License for more details.
22 15
23clean_up() {16clean_up() {
24 rm -f $TMP_FILE17 rm -f $TMP_FILE
scripts/kconfig/nconf.c+2−3
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?3 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com>
3 * Released under the terms of the GNU GPL v2.0.
4 *4 *
5 * Derived from menuconfig.5 * Derived from menuconfig.
6 *
7 */6 */
8#ifndef _GNU_SOURCE7#ifndef _GNU_SOURCE
9#define _GNU_SOURCE8#define _GNU_SOURCE
scripts/kconfig/nconf.gui.c+2−3
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?3 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com>
3 * Released under the terms of the GNU GPL v2.0.
4 *4 *
5 * Derived from menuconfig.5 * Derived from menuconfig.
6 *
7 */6 */
8#include "nconf.h"7#include "nconf.h"
9#include "lkc.h"8#include "lkc.h"
scripts/kconfig/nconf.h+2−3
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/*2/*
2 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com?3 * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com>
3 * Released under the terms of the GNU GPL v2.0.
4 *4 *
5 * Derived from menuconfig.5 * Derived from menuconfig.
6 *
7 */6 */
8 7
9#include <ctype.h>8#include <ctype.h>
scripts/kconfig/qconf.cc+1−1
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com>4 * Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com>
4 * Released under the terms of the GNU GPL v2.0.
5 */5 */
6 6
7#include <qglobal.h>7#include <qglobal.h>
scripts/kconfig/qconf.h+1−1
@@ -1,6 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0 */
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <QTextBrowser>6#include <QTextBrowser>
scripts/kconfig/streamline_config.pl+1−1
@@ -1,7 +1,7 @@
1#!/usr/bin/env perl1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0
2#3#
3# Copyright 2005-2009 - Steven Rostedt4# Copyright 2005-2009 - Steven Rostedt
4# Licensed under the terms of the GNU GPL License version 2
5#5#
6# It's simple enough to figure out how this works.6# It's simple enough to figure out how this works.
7# If not, then you can ask me at stripconfig@goodmis.org7# If not, then you can ask me at stripconfig@goodmis.org
scripts/kconfig/symbol.c+1−1
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */4 */
5 5
6#include <ctype.h>6#include <ctype.h>
scripts/kconfig/tests/auto_submenu/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config A3config A
2 bool "A"4 bool "A"
3 default y5 default y
scripts/kconfig/tests/auto_submenu/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Create submenu for symbols that depend on the preceding one.3Create submenu for symbols that depend on the preceding one.
3 4
scripts/kconfig/tests/choice/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config MODULES3config MODULES
2 bool "Enable loadable module support"4 bool "Enable loadable module support"
3 option modules5 option modules
scripts/kconfig/tests/choice/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Basic choice tests.3Basic choice tests.
3 4
scripts/kconfig/tests/choice_value_with_m_dep/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config MODULES3config MODULES
2 def_bool y4 def_bool y
3 option modules5 option modules
scripts/kconfig/tests/choice_value_with_m_dep/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Hide tristate choice values with mod dependency in y choice.3Hide tristate choice values with mod dependency in y choice.
3 4
scripts/kconfig/tests/err_recursive_inc/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Detect recursive inclusion error.3Detect recursive inclusion error.
3 4
scripts/kconfig/tests/inter_choice/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config MODULES3config MODULES
2 def_bool y4 def_bool y
3 option modules5 option modules
scripts/kconfig/tests/inter_choice/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Do not affect user-assigned choice value by another choice.3Do not affect user-assigned choice value by another choice.
3 4
scripts/kconfig/tests/new_choice_with_dep/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config A3config A
2 bool "A"4 bool "A"
3 help5 help
scripts/kconfig/tests/new_choice_with_dep/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Ask new choice values when they become visible.3Ask new choice values when they become visible.
3 4
scripts/kconfig/tests/no_write_if_dep_unmet/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1config A3config A
2 bool "A"4 bool "A"
3 5
scripts/kconfig/tests/no_write_if_dep_unmet/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Do not write choice values to .config if the dependency is unmet.3Do not write choice values to .config if the dependency is unmet.
3 4
scripts/kconfig/tests/rand_nested_choice/Kconfig+2−0
@@ -1,3 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0
2
1choice3choice
2 prompt "choice"4 prompt "choice"
3 5
scripts/kconfig/tests/rand_nested_choice/__init__.py+1−0
@@ -1,3 +1,4 @@
1# SPDX-License-Identifier: GPL-2.0
1"""2"""
2Set random values recursively in nested choices.3Set random values recursively in nested choices.
3 4
scripts/kconfig/util.c+1−2
@@ -1,8 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0
1/*2/*
2 * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org>
3 * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org>4 * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org>
4 *
5 * Released under the terms of the GNU GPL v2.0.
6 */5 */
7 6
8#include <stdarg.h>7#include <stdarg.h>
scripts/kconfig/zconf.l+4−4
@@ -1,11 +1,11 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
4 */
1%option nostdinit noyywrap never-interactive full ecs5%option nostdinit noyywrap never-interactive full ecs
2%option 8bit nodefault yylineno6%option 8bit nodefault yylineno
3%x ASSIGN_VAL HELP STRING7%x ASSIGN_VAL HELP STRING
4%{8%{
5/*
6 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
7 * Released under the terms of the GNU GPL v2.0.
8 */
9 9
10#include <assert.h>10#include <assert.h>
11#include <limits.h>11#include <limits.h>
scripts/kconfig/zconf.y+2−2
@@ -1,8 +1,8 @@
1%{1/* SPDX-License-Identifier: GPL-2.0 */
2/*2/*
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
4 * Released under the terms of the GNU GPL v2.0.
5 */4 */
5%{
6 6
7#include <ctype.h>7#include <ctype.h>
8#include <stdarg.h>8#include <stdarg.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t