20 Sep, 2009

1 commit

  • Albin Tonnerre reported:

    Bash 4 filters out variables which contain a dot in them.
    This happends to be the case of CPPFLAGS_vmlinux.lds.
    This is rather unfortunate, as it now causes
    build failures when using SHELL=/bin/bash to compile,
    or when bash happens to be used by make (eg when it's /bin/sh)

    Remove the common definition of CPPFLAGS_vmlinux.lds by
    pushing relevant stuff to either Makefile.build or the
    arch specific kernel/Makefile where we build the linker script.

    This is also nice cleanup as we move the information out where
    it is used.

    Notes for the different architectures touched:

    arm - we use an already exported symbol
    cris - we use a config symbol aleady available
    [Not build tested]
    mips - the jiffies complexity has moved to vmlinux.lds.S where we need it.
    Added a few variables to CPPFLAGS - they are only used by
    the linker script.
    [Not build tested]
    powerpc - removed assignment that is not needed
    [not build tested]
    sparc - simplified it using $(BITS)
    um - introduced a few new exported variables to deal with this
    xtensa - added options to CPP invocation
    [not build tested]

    Cc: Albin Tonnerre
    Cc: Russell King
    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Chris Zankel
    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

21 Apr, 2009

1 commit


01 Nov, 2008

2 commits

  • Remove the links to architecture and machine dependent directories
    (boot, lib, drivers, arch, mach)

    The links were created and used mostly from the arch/cris/Makefile,
    so why not dispense with them altogether?
    Changed $(ARCH) to "cris" in Makefile, it is easier to read this way.

    The CRISv32 head.S common files for the kernel and compressed images
    needed to be modified to use ifdefs instead of using the now removed
    mach link. Since there are only two versions, this is not a huge loss
    in readability.

    The link to vmlinux.lds.S is also replaced with a merged version
    which uses ifdefs to select the correct layout.
    System.map before and after are identical.

    Signed-off-by: Jesper Nilsson
    Acked-by: Sam Ravnborg

    Jesper Nilsson
     
  • Eliminates the link to arch specific asm-offsets.c from CRIS
    architecture build system.

    Resulting asm-offsets.s are identical before and after change
    for both arch-v10 and arch-v32.

    Signed-off-by: Jesper Nilsson
    Acked-by: Sam Ravnborg

    Jesper Nilsson
     

30 Oct, 2008

1 commit


14 Oct, 2008

1 commit

  • This patch moves the cris defconfigs to arch/cris/configs/ where they
    belong.

    As a side effect they can now be used directly through e.g.
    make ARCH=cris artpec_3_defconfig

    The default defconfig is set through KBUILD_DEFCONFIG.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Jesper Nilsson

    Adrian Bunk
     

08 Feb, 2008

1 commit

  • - Remove old and non-generic targets, use generic ones instead.
    - Add sub-arch as mach-fs or mach-a3 for EtraxFS and Artpec-3 respectively.
    - Add links to sub-arch directories, and erase before trying to create them.
    - Include from sub-arch specific include directory "mach".
    - Add files to be cleaned in CLEAN_FILES instead of as archclean target.

    Jesper Nilsson
     

16 Oct, 2007

1 commit

  • The variable AFLAGS is a wellknown variable and the usage by
    kbuild may result in unexpected behaviour.
    On top of that several people over time has asked for a way to
    pass in additional flags to gcc.

    This patch replace use of AFLAGS with KBUILD_AFLAGS all over
    the tree.

    Patch was tested on following architectures:
    alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

15 Oct, 2007

1 commit

  • The variable CFLAGS is a wellknown variable and the usage by
    kbuild may result in unexpected behaviour.
    On top of that several people over time has asked for a way to
    pass in additional flags to gcc.

    This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
    tree and enabling one to use:
    make CFLAGS=...
    to specify additional gcc commandline options.

    One usecase is when trying to find gcc bugs but other
    use cases has been requested too.

    Patch was tested on following architectures:
    alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k

    Test was simple to do a defconfig build, apply the patch and check
    that nothing got rebuild.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

21 Jan, 2006

1 commit


12 Sep, 2005

1 commit

  • When introducing the generic asm-offsets.h support the dependency
    chain for the prepare targets was changed. All build scripts expecting
    include/asm/asm-offsets.h to be made when using the prepare target would broke.
    With the limited number of prepare targets left in arch Makefiles
    the trivial solution was to introduce a new arch specific target: archprepare

    The dependency chain looks like this now:

    prepare
    |
    +--> prepare0
    |
    +--> archprepare
    |
    +--> scripts_basic
    +--> prepare1
    |
    +---> prepare2
    |
    +--> prepare3

    So prepare 3 is processed before prepare2 etc.
    This guaantees that the asm symlink, version.h, scripts_basic
    are all updated before archprepare is processed.

    prepare0 which build the asm-offsets.h file will need the
    actions performed by archprepare.

    The head target is now named prepare, because users scripts will most
    likely use that target, but prepare-all has been kept for compatibility.
    Updated Documentation/kbuild/makefiles.txt.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

10 Sep, 2005

1 commit


28 Jul, 2005

1 commit

  • Changes to configuration and build system.

    * Added v32 sub architecture.
    * Use generic hard IRQ.
    * Added SMP options.
    * Added options to OOPS at NMI and reboot at OOM.
    * Made it possible to set objtree.
    * Added option to select Kernel GDB serial port.
    * Corrected Kconfig usage.
    * Added system profiler.

    Signed-off-by: Mikael Starvik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mikael Starvik
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds