1. 17 Nov, 2007 1 commit
    • Sam Ravnborg's avatar
      x86: simplify "make ARCH=x86" and fix kconfig all.config · 6840999b
      Sam Ravnborg authored
      Simplify "make ARCH=x86" and fix kconfig so we again can set 64BIT in
      For a fix the diffstat is nice:
       6 files changed, 3 insertions(+), 36 deletions(-)
      The patch reverts these commits:
       - 0f855aa6 ("kconfig: add helper to set
         config symbol from environment variable")
       - 2a113281
       ("kconfig: use $K64BIT to
         set 64BIT with all*config targets")
      Roman Zippel pointed out that kconfig supported string compares so
      the additional complexity introduced by the above two patches were
      not needed.
      With this patch we have following behaviour:
        # make {allno,allyes,allmod,rand}config [ARCH=...]
        option \ host arch      | 32bit         | 64bit
        ./.                     | 32bit         | 64bit
        ARCH=x86                | 32bit         | 32bit
        ARCH=i386               | 32bit         | 32bit
        ARCH=x86_64             | 64bit         | 64bit
      The general rule are that ARCH= and native architecture takes
      precedence over the configuration.
      So make ARCH=i386 [whatever] will always build a 32-bit kernel
      no matter what the configuration says.  The configuration will
      be updated to 32-bit if it was configured to 64-bit and the
      other way around.
      This behaviour is consistent with previous behaviour so no
      suprises here.
      make ARCH=x86 will per default result in a 32-bit kernel but as
      the only ARCH= value x86 allow the user to select between 32-bit
      and 64-bit using menuconfig.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Andreas Herrmann <aherrman@arcor.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  2. 12 Nov, 2007 4 commits
    • Sam Ravnborg's avatar
      x86: enable "make ARCH=x86" · daa93fab
      Sam Ravnborg authored
      After unification of the Kconfig files and
      introducing K64BIT support in kconfig
      it required only trivial changes to enable
      "make ARCH=x86".
      With this patch you can build for x86_64 in several ways:
      1) make ARCH=x86_64
      2) make ARCH=x86 K64BIT=y
      3) make ARCH=x86 menuconfig
         => select 64-bit
      Likewise for i386 with the addition that
      i386 is default is you say ARCH=x86.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
    • Sam Ravnborg's avatar
      kconfig: use $K64BIT to set 64BIT with all*config targets · 2a113281
      Sam Ravnborg authored
      The variable K64BIT can now be used to select the
      value of CONFIG_64BIT.
      This is for example useful for powerpc to generate
      allmodconfig for both bit sizes - like this:
      make ARCH=powerpc K64BIT=y
      make ARCH=powerpc K64BIT=n
      To use this the Kconfig file must use "64BIT" as the
      config value to select between 32 and 64 bit.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
    • Sam Ravnborg's avatar
      kconfig: add helper to set config symbol from environment variable · 0f855aa6
      Sam Ravnborg authored
      Add conf_set_env_sym() that can set an already defined symbol
      based on the value of an environment variable.
      Unknown symbols are silently ignored.
      A warning is printed if the value of the environment variable
      is unexpected.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
    • Sam Ravnborg's avatar
      kconfig: factor out code in confdata.c · 9c900a9c
      Sam Ravnborg authored
      This patch introduce no functional changes.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
  3. 25 Oct, 2007 3 commits
  4. 20 Oct, 2007 2 commits
    • Randy Dunlap's avatar
      kconfig: set title bar in xconfig · a54bb701
      Randy Dunlap authored
      Put kernel version info on title bar in xconfig (qconf) instead of
      defaulting to "qconf".
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    • Linus Torvalds's avatar
      Revert "kconfig: tristate choices with mixed tristate and boolean values" · e8b8c977
      Linus Torvalds authored
      This reverts commit a5bf3d89
      David Brownell notes that this causes a regression visible in the
      drivers/usb/gadget Kconfig file:
        "That Kconfig hasn't changed (other than adding new drivers), and it's
         worked that way for several years now ...  so the issue seems to be
         changes in menuconfig/kconfig/etc semantics.
         The issue is that when USB_GADGET=m, it's no longer possible to
         configure peripheral controller drivers as modules ...  the
         controller drivers can now only be configured for static linkage.
         It should be making a choice of one of the controller drivers which
         could work on the target system, and allow that driver to be linked
         either as a module (ok iff USB_GADGET=m) or statically."
      Reverting this commit resolves the problem, and also fixes a second
      problem that David noticed: various dependent options couldn't be enabled.
      Tested-and-reported-by: default avatarDavid Brownell <david-b@pacbell.net>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Jan Beulich <jbeulich@novell.com>,
      Cc: Andrew Morton <akpm@linux-foundation.org>,
      Cc: Sam Ravnborg <sam@ravnborg.org>,
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
  5. 18 Oct, 2007 1 commit
  6. 12 Oct, 2007 7 commits
  7. 01 Sep, 2007 1 commit
  8. 25 Jul, 2007 2 commits
  9. 17 Jul, 2007 2 commits
  10. 16 Jul, 2007 2 commits
    • Sam Ravnborg's avatar
      kconfig: fix update-po-config · b70e325c
      Sam Ravnborg authored
      Massimo Maiurana <maiurana@gmail.com> reported that
      update-po-config was broken:
      1) spelling errors in Makefile so arch/um failed
      2) UTF-8 was not supported
      The following patch address the above problems.
      kxgettext now append the output to the .pot file
      generated by xgettext - so we have a header.
      In all places UFT-8 is specifed so we now flawlessly
      support UTF-8.
      The Kconfig files had an empty string in a few cases -
      these are now supressed in kxgettext.
      With this the translators can now pick up where they left
      and get it all translated.
      There are ~11000 strings to be translated...
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc:  Massimo Maiurana <maiurana@gmail.com>
      Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
    • Mike Frysinger's avatar
      kconfig: use POSIX equality test in check-lxdialog.sh · e99c343f
      Mike Frysinger authored
      The "==" operator is not in POSIX, so use -eq instead.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
  11. 19 May, 2007 1 commit
  12. 06 May, 2007 2 commits
  13. 02 May, 2007 8 commits
  14. 14 Feb, 2007 4 commits