diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 20:18:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 20:18:15 (GMT) |
commit | 2b8dfec8c8fa4ba5bc946a602e94e99861462cad (patch) | |
tree | f73ad3c3224fb835a105c2f8ed5c1857ba5e753e /scripts/Kbuild.include | |
parent | 16b036786a6bd08cf7a91e0cd58219a6717da2a6 (diff) | |
parent | 8d36a62364b6b04dc7b0e9fe09f6968f4e5a1f0a (diff) | |
download | linux-fsl-qoriq-2b8dfec8c8fa4ba5bc946a602e94e99861462cad.tar.xz |
Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 9087273..db3c708 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -49,6 +49,9 @@ build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj cmd = @$(if $($(quiet)cmd_$(1)),\ echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1)) +# Add $(obj)/ for paths that is not absolute +objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o))) + ### # if_changed - execute command if any prerequisite is newer than # target, or command line has changed |