]> Pileus Git - ~andy/linux/blobdiff - scripts/Kbuild.include
Pull acpi_device_handle_cleanup into release branch
[~andy/linux] / scripts / Kbuild.include
index b0d067be739056089fbb09a357bbacc5c0daf6b4..2180c88cfe89111a79cfb15bb8361aefcd067d59 100644 (file)
@@ -12,6 +12,10 @@ space   := $(empty) $(empty)
 # contain a comma
 depfile = $(subst $(comma),_,$(@D)/.$(@F).d)
 
+###
+# filename of target with directory and extension stripped
+basetarget = $(basename $(notdir $@))
+
 ###
 # Escape single quote for use in echo statements
 escsq = $(subst $(squote),'\$(squote)',$1)