diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 14:05:15 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 14:05:15 -0400 |
| commit | 2a2ed2db353d949c06b6ef8b6913f65b39111eab (patch) | |
| tree | d835c3dd101da91089c3bdf51c8632e84be37232 /scripts/Kbuild.include | |
| parent | 972d19e837833b93466c6f6a8ef2a7d653000aa3 (diff) | |
| parent | 070b98bfda3d27269519067c1c67eaef695f3e0c (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits)
kbuild: trivial fixes in Makefile
kbuild: adding symbols in Kconfig and defconfig to TAGS
kbuild: replace abort() with exit(1)
kbuild: support for %.symtypes files
kbuild: fix silentoldconfig recursion
kbuild: add option for stripping modules while installing them
kbuild: kill some false positives from modpost
kbuild: export-symbol usage report generator
kbuild: fix make -rR breakage
kbuild: append -dirty for updated but uncommited changes
kbuild: append git revision for all untagged commits
kbuild: fix module.symvers parsing in modpost
kbuild: ignore make's built-in rules & variables
kbuild: bugfix with initramfs
kbuild: modpost build fix
kbuild: check license compatibility when building modules
kbuild: export-type enhancement to modpost.c
kbuild: add dependency on kernel.release to the package targets
kbuild: `make kernelrelease' speedup
kconfig: KCONFIG_OVERWRITECONFIG
...
Diffstat (limited to 'scripts/Kbuild.include')
| -rw-r--r-- | scripts/Kbuild.include | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index b0d067be7390..ac5f275b0283 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
| @@ -13,6 +13,11 @@ space := $(empty) $(empty) | |||
| 13 | depfile = $(subst $(comma),_,$(@D)/.$(@F).d) | 13 | depfile = $(subst $(comma),_,$(@D)/.$(@F).d) |
| 14 | 14 | ||
| 15 | ### | 15 | ### |
| 16 | # basetarget equals the filename of the target with no extension. | ||
| 17 | # So 'foo/bar.o' becomes 'bar' | ||
| 18 | basetarget = $(basename $(notdir $@)) | ||
| 19 | |||
| 20 | ### | ||
| 16 | # Escape single quote for use in echo statements | 21 | # Escape single quote for use in echo statements |
| 17 | escsq = $(subst $(squote),'\$(squote)',$1) | 22 | escsq = $(subst $(squote),'\$(squote)',$1) |
| 18 | 23 | ||
