26 Jul, 2005

1 commit

  • Kbuild.include is a placeholder for definitions originally present in
    both the top-level Makefile and scripts/Makefile.build.
    There were a slight difference in the filechk definition, so the most videly
    used version was kept and usr/Makefile was adopted for this syntax.

    Signed-off-by: Sam Ravnborg
    ---

    Sam Ravnborg
     

25 Jul, 2005

2 commits


22 Jul, 2005

2 commits


18 Jul, 2005

1 commit


15 Jul, 2005

11 commits

  • It fixes the following error:

    make[1]: *** No rule to make target `include/asm', needed by `arch/alpha/kernel/asm-offsets.s'. Stop.

    Reported by:
    From: Jan Dittmer
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Ryan Anderson

    When running "make O=something deb-pkg", I get a failure that claims I
    haven't configured my kernel (I have). Running it a second time tells
    me to run "make mrproper" (include/linux/version.h got built on the
    first run)

    Original patch from:
    From: Ajay Patel

    With modifications from:
    Signed-off-By: Ryan Anderson
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Ryan Anderson

    This pulls the description from the Debian user-mode-linux package, and
    puts $version back in the appropriate places for both descriptions.

    Signed-off-by: Ryan Anderson
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Ryan Anderson

    Make the deb-pkg build target understand the "um" arch and set up the
    package and directory structure to match a mainline-Debian style
    user-mode-linux package.

    This is primarily so that it stops matching, exactly, the naming
    convention used by normal, non-UML kernels generated by this command.

    Installing "linux-2.6.11" and "linux-2.6.11", where one is a UML kernel
    doesn't do the right thing. This fixes that.

    Signed-off-by: Ryan Anderson
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Andreas Gruenbacher

    We're having the following situation: There are user-space applications
    that include kernel headers directly. With a completely unconfigured
    /usr/src/linux tree, including most headers fails because essential
    files are not there:

    include/asm
    include/linux/autoconf.h
    include/linux/version.h

    So we create these files. On the other hand, we want to use
    /usr/src/linux as read-only source for building kernels or additional
    modules. Now when building a kernel with a separate output directory
    (O=), there is a check in the main makefile for the include/asm symlink.
    There is no real need for this check: if we ensure that
    $(objdir)/include/asm is always created as the patch does,
    $(srctree)/include/asm becomes irrelevant.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Randy Dunlap

    I should not have added init.text test here;
    it's more than useless, it actually degrades the output.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Keith Owens

    Make it easier to generate maps for debugging kallsyms problems.
    debug_kallsyms is only a debugging target so no help or silent mode.

    Signed-off-by: Keith Owens
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Matt Mackall

    Add PREEMPT to UTS_VERSION where enabled as is done for SMP to make
    preempt kernels easily identifiable.
    Added SMP PREEMPT as comment in compile.h to force it to be
    updated when they change (sam).

    Signed-off-by: Matt Mackall
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • Several reports on inconsistent kallsyms data has been caused by the aliased symbols
    __sched_text_start and __down to shift places in the output of nm.
    The root cause was that on second pass ld aligned __sched_text_start to a 4 byte boundary
    which is the function alignment on i386.
    sched.text and spinlock.text is now aligned to an 8 byte boundary to make sure they
    are aligned to a function alignemnt on most (all?) archs.

    Tested by: Paulo Marques
    Tested by: Alexander Stohr

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Randy Dunlap

    Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • From: Matthew Wilcox
    I inadvertently built a tree as root and then rebuilt it as a user. I
    got a lot of prompts ...

    mv: overwrite `drivers/char/drm/drm_auth.o', overriding mode 0644?

    Using mv -f fixes that.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

14 Jul, 2005

8 commits

  • Current kernel-doc (perl) script generates this warning:
    Use of uninitialized value in concatenation (.) or string at scripts/kernel-doc line 1668.

    So explicitly check for SRCTREE in the ENV before using it,
    and then if it is set, append a '/' to the end of it, otherwise
    the SRCTREE + filename can (will) be missing the intermediate '/'.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     
  • When I recently submitted a Lindent patch, it turned out that my .indent.pro
    options were also applied to the tree. This patch directs indent(1) to ignore
    the .indent.pro directives and only use options specified on the command
    line.

    Signed-off-by: Jeff Mahoney
    Signed-off-by: Sam Ravnborg

    Jeff Mahoney
     
  • This patch fixes the output of "make help" to fit in a 80 column
    screen. Please push upstream as part of your other patches.

    Signed-off-by: Yum Rayan
    Signed-off-by: Sam Ravnborg

    Yum Rayan
     
  • Single-file HOSTCC calls added the libraries from $(HOSTLOADLIBES),
    but not from $(HOSTLOADLIBES_programname). Multi-file HOSTCC calls do
    both.

    This patch fixes that inconsistency.

    Signed-Off-By: Matthias Urlichs
    Signed-off-by: Sam Ravnborg

    Matthias Urlichs
     
  • I have a single source tree which I cross compile for a couple of
    different architectures using ARHC=foo O=blah etc.

    The existing cscope target is very handy but only indexes the current
    $(ARCH), which is a pain since inevitably I'm interested in the other
    one at any given time ;-). This patch allows me to pass a list of
    architectures for cscope to index. e.g.
    make ALLSOURCE_ARCHS="i386 arm" cscope

    This change also works for etags etc, and I presume it is just as useful
    there.

    Signed-off-by: Ian Campbell
    Signed-off-by: Sam Ravnborg

    Ian Campbell
     
  • I tried the Linux Makefile 'make cscope' target, and found that the
    generated database is not compatible with 'cscope.el' under XEmacs.
    The thing is that 'cscope.el' does not allow setting the command line
    options to the 'cscope' commands it runs, and it errors with a message
    about the options not matching the ones used to generate the index.

    It turns out the cscope designers already thought of this. The
    options can be written into the "cscope.files". The included patch
    moves the "-q" and "-k" options from the 'cmd_cscope' to the
    'cmd_cscope-file', echoing them into the top of the files listing.

    Now the index is generated with the "-q" option, and when 'cscope.el'
    performs it's search, it uses that argument as well. Lookups are fast
    and everyone is happy.

    Signed-off-by: Sam Ravnborg

    Karl Hegbloom
     
  • On ia64, only the EFI (fat) partition is available to boot from. The rpm
    needs to install the kernel under /boot/efi to be useable on ia64.

    Signed-off-by: Greg Edwards
    Signed-off-by: Sam Ravnborg

    Greg Edwards
     
  • Recently a change in the glibc elf.h header has been introduced causing
    modpost to spawn tons of warnings (like the one below) building the kernel
    on sparc:

    [SNIP]
    *** Warning: "current_thread_info_reg" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    *** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    *** Warning: "" [net/sunrpc/auth_gss/auth_rpcgss.ko] undefined!
    [SNIP]

    Ben Collins discovered that the STT_REGISTERED definition in glibc did change
    and that this change needs to be propagated to modpost.

    glibc change:
    -#define STT_REGISTER 13 /* Global register reserved to app. */
    +#define STT_SPARC_REGISTER 13 /* Global register reserved to app. */

    I did and tested this simple patch to maintain compatibility with newer (>= 2.3.4)
    and older (
    Signed-off-by: Sam Ravnborg

    Fabio Massimo Di Nitto
     

13 Jul, 2005

1 commit


12 Jul, 2005

11 commits


11 Jul, 2005

3 commits