mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.7 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/linux26/12-conf-hacks.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./scripts/kconfig/conf.c.orig 2003-01-13 17:11:05.000000000 +0100
  23. +++ ./scripts/kconfig/conf.c 2003-01-13 23:20:21.000000000 +0100
  24. @@ -20,6 +20,7 @@
  25. ask_all,
  26. ask_new,
  27. ask_silent,
  28. + ask_no2mod,
  29. set_default,
  30. set_yes,
  31. set_mod,
  32. @@ -102,6 +103,15 @@
  33. line[1] = 0;
  34. switch (input_mode) {
  35. + case ask_no2mod:
  36. + if (type == S_TRISTATE &&
  37. + sym_get_tristate_value(sym) == no) {
  38. + fprintf(stderr, "Setting %s to 'm'.\n", sym->name);
  39. + line[0] = 'm';
  40. + line[1] = '\n';
  41. + line[2] = 0;
  42. + break;
  43. + }
  44. case ask_new:
  45. case ask_silent:
  46. if (sym_has_value(sym)) {
  47. @@ -354,6 +354,7 @@
  48. break;
  49. }
  50. check_stdin();
  51. + case ask_no2mod:
  52. case ask_all:
  53. fflush(stdout);
  54. fgets(line, 128, stdin);
  55. @@ -506,6 +517,9 @@
  56. case 'm':
  57. input_mode = set_mod;
  58. break;
  59. + case 'M':
  60. + input_mode = ask_no2mod;
  61. + break;
  62. case 'y':
  63. input_mode = set_yes;
  64. break;
  65. @@ -545,7 +559,8 @@
  66. }
  67. case ask_all:
  68. case ask_new:
  69. + case ask_no2mod:
  70. conf_read(NULL);
  71. break;
  72. default:
  73. --- ./Makefile.orig 2003-05-05 01:53:34.000000000 +0200
  74. +++ ./Makefile 2003-06-07 17:41:56.000000000 +0200
  75. @@ -204,7 +204,7 @@
  76. noconfig_targets := xconfig gconfig menuconfig config oldconfig randconfig \
  77. defconfig allyesconfig allnoconfig allmodconfig \
  78. - clean mrproper distclean rpm \
  79. + no2modconfig clean mrproper distclean rpm \
  80. help tags TAGS cscope sgmldocs psdocs pdfdocs htmldocs \
  81. checkconfig checkhelp checkincludes
  82. @@ -636,6 +636,9 @@
  83. allmodconfig: scripts/kconfig/conf
  84. ./scripts/kconfig/conf -m arch/$(ARCH)/Kconfig
  85. +no2modconfig: scripts/kconfig/conf
  86. + ./scripts/kconfig/conf -M arch/$(ARCH)/Kconfig
  87. +
  88. defconfig: scripts/kconfig/conf
  89. ./scripts/kconfig/conf -d arch/$(ARCH)/Kconfig