kbuild: use $(src) instead of $(srctree)/$(src) for source directory
[linux-block.git] / usr / Makefile
index f8e1ad19e05c4f3779c39960884ae1b776cceb5a..132ef7e96e6d5da8cbf4ebc3ddf24f5632f1ed5f 100644 (file)
@@ -22,7 +22,7 @@ cpio-data :=
 # If CONFIG_INITRAMFS_SOURCE is empty, generate a small initramfs with the
 # default contents.
 ifeq ($(ramfs-input),)
-ramfs-input := $(srctree)/$(src)/default_cpio_list
+ramfs-input := $(src)/default_cpio_list
 endif
 
 ifeq ($(words $(ramfs-input)),1)