summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-blockLinus Torvalds2005-11-071-1/+1
|\
| * [BLOCK] Move all core block layer code to new block/ directoryJens Axboe2005-11-041-1/+1
| | | | | | | | | | | | | | | | drivers/block/ is right now a mix of core and driver parts. Lets move the core parts to a new top level directory. Al will move the fs/ related block parts to block/ next. Signed-off-by: Jens Axboe <axboe@suse.de>
* | [PATCH] kbuild: permanently fix kernel configuration include messRussell King2005-11-061-6/+2
|/ | | | | | | | | | | | | | | Include autoconf.h into every kernel compilation via the gcc command line using -imacros. This ensures that we have the kernel configuration included from the start, rather than relying on each file having #include <linux/config.h> as appropriate. History has shown that this is something which is difficult to get right. Since we now include the kernel configuration automatically, make configcheck becomes meaningless, so remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* [PATCH] Ensure that 'make distclean' does not delete files in '.git'Trond Myklebust2005-10-281-2/+2
| | | | | | | | | Currently, 'make distclean' causes stgit to barf since it may delete files in .git/patches. We really shouldn't allow 'make distclean' anywhere near .git... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] gfp_t: infrastructureAl Viro2005-10-281-1/+1
| | | | | | | | | | | | | | | | Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux v2.6.14v2.6.14Linus Torvalds2005-10-271-1/+1
| | | | "Better late than never"
* Linux v2.6.14-rc5v2.6.14-rc5Linus Torvalds2005-10-191-1/+1
| | | | | The -rc4 release was supposed to be the last -rc, but here goes. The RCU fixes and the swiotlb changes need an -rc for final testing.
* [PATCH] Export RCS_TAR_IGNORE for rpm targetsTom Rini2005-10-191-1/+1
| | | | | | | | | | | | The variable RCS_TAR_IGNORE is used in scripts/packaging/Makefile, but not exported from the main Makefile, so it's never used. This results in the rpm targets being very unhappy in quilted trees. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] kbuild: Eliminate build error when KALLSYMS not definedMark Rustad2005-10-171-1/+3
| | | | | | | | | | | | | | | | The following build error happens with 2.6.14-rc4 when CONFIG_KALLSYMS is not defined. The error message in a fragment of the output was: CC arch/i386/lib/usercopy.o AR arch/i386/lib/lib.a /bin/sh: line 1: +@: command not found make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CHK include/linux/compile.h Signed-off-by: Mark Rustad <mrustad@mac.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux v2.6.14-rc4v2.6.14-rc4Linus Torvalds2005-10-101-1/+1
|
* Linux v2.6.14-rc3v2.6.14-rc3Linus Torvalds2005-09-301-1/+1
|
* Linux v2.6.14-rc2v2.6.14-rc2Linus Torvalds2005-09-191-1/+1
| | | | | | Avast, ye scurvy land-lubbers! Time to try out a new release. Arrr!
* Linux 2.6.14-rc1v2.6.14-rc1Linus Torvalds2005-09-121-2/+2
| | | | Two weeks after 2.6.13: starting to calm things down.
* kbuild: fix silentoldconfig with make O=Sam Ravnborg2005-09-111-0/+1
| | | | | | | | Al Viro reported that sometimes silentoldconfig failed because output directory was missing. So create it unconditionally before executing conf Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: rename prepare to archprepare to fix dependency chainSam Ravnborg2005-09-111-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.org>
* kbuild: fix generic asm-offsets.h supportSam Ravnborg2005-09-101-1/+1
| | | | | | | | iThis fixes a bug where the generated asm-offsets.h file was saved in the source tree even with make O=. Thanks to Stephen Rothwell <sfr@canb.auug.org.au> for the report. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* [PATCH] kbuild: fix split-include dependencyJan Beulich2005-09-101-4/+6
| | | | | | | | | | | | | Splitting of autoconf.h requires that split-include was built before, and needs to be-re-done when split-include changes. This dependency was previously missing. Additionally, since autoconf.h is (suppoosed to be) generated as a side effect of executing config targets, include/linux should be created prior to running the respective sub-make. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* [PATCH] kbuild: adjust .version updatingJan Beulich2005-09-101-2/+8
| | | | | | | | | | | In order to maintain a more correct build number, updates to the version number should only be commited after a successful link of vmlinux, not before (so that errors in the link process don't lead to pointless increments). Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* [PATCH] kbuild: CF=<arguments> passes arguments to sparseviro@ZenIV.linux.org.uk2005-09-101-1/+1
| | | | | | | | Allows to add to sparse arguments without mutilating makefiles - just pass CF=<arguments> and they will be added to CHECKFLAGS. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* [PATCH] kbuild: add kernelrelease to 'make help'Zach Brown2005-09-101-0/+1
| | | | | | | Dunno if there was a conscious decision to leave it out, but if you're happy with adding some help text for it here's a patch against 2.6.13-mm1.. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: full dependency check on asm-offsets.hSam Ravnborg2005-09-091-28/+11
| | | | | | | | | | | | | | | | | | Building asm-offsets.h has been moved to a seperate Kbuild file located in the top-level directory. This allow us to share the functionality across the architectures. The old rules in architecture specific Makefiles will die in subsequent patches. Furhtermore the usual kbuild dependency tracking is now used when deciding to rebuild asm-offsets.s. So we no longer risk to fail a rebuild caused by asm-offsets.c dependencies being touched. With this common rule-set we now force the same name across all architectures. Following patches will fix the rest. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild Linus Torvalds2005-09-061-96/+64
|\
| * [PATCH] kbuild: automatically append a short string to the version based ↵Ryan Anderson2005-08-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | upon the git commit If CONFIG_AUTO_LOCALVERSION is set, the user is using a git-based tree, and the current HEAD is not referred to by any tags in .git/refs/tags/, append -g and the first 8 characters of the commit to the version string. This makes it easier to use git-bisect, and/or to do a daily build, without trampling on your older, working builds, or accidentally setting up conflicting sets of modules. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * kbuild: fix make TAGS (for emacs use)Sam Ravnborg2005-07-281-5/+8
| | | | | | | | | | | | | | | | | | From: bongiojp@clarkson.edu <Jeremy Bongio> make TAGS does not make source code tags for emacs. It instead returns an error than "etags -" isn't valid. The problem is easily remedied. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * kbuild: silence mystery messageSam Ravnborg2005-07-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | During last phase of the build the following message were displayed: /bin/sh: +@: command not found This message appears due to slightly changed semantics of cmd and if_changed_rule. The easy fix was to insert a dummy command first in rule_ksym_ld. The alternative was to redo part of this processing in the top-level Makefile - a volatile area that I try to avoid. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * kbuild: pass less variables to second make invocation when using make O=...Sam Ravnborg2005-07-271-4/+3
| | | | | | | | | | | | | | | | | | make exports all variables assigned on the command-line, so no need to pass them explicit. This fixes http://bugzilla.kernel.org/show_bug.cgi?id=4725 Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * kbuild: KBUILD_VERBOSE was exported twiceSam Ravnborg2005-07-271-1/+1
| | | | | | | | | | | | | | This fixes http://bugzilla.kernel.org/show_bug.cgi?id=4727 Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * kbuild: fix make O=...Sam Ravnborg2005-07-251-1/+1
| | | | | | | | | | | | | | | | kbuild failed to locate Kbuild.include. Teach kbuild how to find Kbuild files when using make O=... Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * kbuild: introduce Kbuild.includeSam Ravnborg2005-07-251-71/+3
| | | | | | | | | | | | | | | | | | | | 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.org> ---
| * kbuild: drop descend - converting existing usersSam Ravnborg2005-07-251-5/+0
| | | | | | | | | | | | | | | | | | There was only two users left of descend. Fix them so they use $(clean)= and $(build)=. Drop definition of descend. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * kbuild: drop -Wundef from HOSTCFLAGS for nowSam Ravnborg2005-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | -Wundef caused warnings in the bison generated code in kconfig. Updating to a newer bison (1.875d) did not fix it. The alternatives was to correct the autogenerated code or drop -Wundef. For now -Wundef is dropped from HOSTCFLAGS. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
| * [PATCH] kbuild: add -Wundef to global CFLAGSOlaf Hering2005-07-211-2/+2
| | | | | | | | | | | | | | | | | | | | A recent change to the aic scsi driver removed two defines to detect endianness. cpp handles undefined strings as 0. As a result, the test turned into #if 0 == 0 and the wrong code was selected. Adding -Wundef to global CFLAGS will catch such errors. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * [PATCH] kbuild: When checking depmod version, redirect stderrTom Rini2005-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | When running depmod to check for the correct version number, extra output we don't need to see, such as "depmod: QM_MODULES: Function not implemented" may show up. Redirect stderr to /dev/null as the version information that we do care about comes to stdout. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * kbuild: fix make O=... buildSam Ravnborg2005-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | 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 <j.dittmer@portrix.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * kbuild: Don't fail if include/asm symlink existsSam Ravnborg2005-07-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Andreas Gruenbacher <agruen@suse.de> 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.org>
| * kbuild: Add target debug_kallsymsSam Ravnborg2005-07-141-0/+10
| | | | | | | | | | | | | | | | | | | | From: Keith Owens <kaos@ocs.com.au> 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 <kaos@ocs.com.au> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * [PATCH] kbuild: allow cscope to index multiple architecturesIan Campbell2005-07-131-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <ijc@hellion.org.uk> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
| * [PATCH] kbuild: make 'cscope -q' play well with cscope.elKarl Hegbloom2005-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <sam@ravnborg.org>
* | [PATCH] kbuild: fix make clean damaging hg reposMatt Mackall2005-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | Running 'make clean' was quietly deleting files in Mercurial kernel repositories matching '.*.d', which was corrupting the tags portions of the repository. Spotted and fixed by several people. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] new name for 2.6.14Benjamin LaHaise2005-08-291-1/+1
| | | | | | | | | | | | | | | | We've had Woozy Numbat for a while now. Here's an updated name care of Jeff Garzik and myself. Signed-off-by: Benjamin LaHaise <bcrl@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Linux v2.6.13v2.6.13Linus Torvalds2005-08-281-1/+1
| |
* | Linux v2.6.13-rc7v2.6.13-rc7Linus Torvalds2005-08-231-1/+1
| | | | | | | | Too many changes to release a final 2.6.13.
* | Linux 2.6.13-rc6v2.6.13-rc6Linus Torvalds2005-08-071-1/+1
| | | | | | | | | | Last (?) -rc, partly brought on by the aic7xxx performance fixes (ie get them tested in an -rc release before the real 2.6.13).
* | Linux v2.6.13-rc5v2.6.13-rc5Linus Torvalds2005-08-011-1/+1
| | | | | | | | Ok, let's get it right this time
* | Linux 2.6.13-rc4v2.6.13-rc4Linus Torvalds2005-07-281-1/+1
| |
* | Linux 2.6.13-rc3v2.6.13-rc3Linus Torvalds2005-07-121-1/+1
|/ | | | | Yeah, this time hopefully I'm not confusing the version numbers. The last release was -rc2, _this_ is -rc3.
* [PATCH] kbuild: build a single module using 'make dir/module.ko'Sam Ravnborg2005-07-071-0/+4
| | | | | | | | | | | | | | Using the syntax: make dir/module.ko kbuild now allows one to build a module including the final link stage. This is usefull when one only wants to compile a single module and thus do not have to wait until a full kernel has finished compiling. Tested by: randy_dunlap <rdunlap@xenotime.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] kbuild: build TAGS problem with O=George Anzinger2005-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | make O=/dir TAGS fails with: MAKE TAGS find: security/selinux/include: No such file or directory find: include: No such file or directory find: include/asm-i386: No such file or directory find: include/asm-generic: No such file or directory The problem is in this line: ifeq ($(KBUILD_OUTPUT),) KBUILD_OUTPUT is not defined (ever) after make reruns itself. This line is used in the TAGS, tags, and cscope makes. Signed-off-by: George Anzinger <george@mvista.com> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux v2.6.13-rc3v2.6.13-rc2Linus Torvalds2005-07-051-1/+1
|
* Linux v2.6.13-rc1v2.6.13-rc1Linus Torvalds2005-06-281-2/+2
| | | | | Ok, a lot of things were pending after the 2.6.12 release, let's try to start calming things down again.
OpenPOWER on IntegriCloud