|
@@ -1010,9 +1010,10 @@ ifdef CONFIG_GDB_SCRIPTS
|
|
endif
|
|
endif
|
|
+$(call if_changed,link-vmlinux)
|
|
+$(call if_changed,link-vmlinux)
|
|
|
|
|
|
-# Build samples along the rest of the kernel
|
|
|
|
|
|
+# Build samples along the rest of the kernel. This needs headers_install.
|
|
ifdef CONFIG_SAMPLES
|
|
ifdef CONFIG_SAMPLES
|
|
vmlinux-dirs += samples
|
|
vmlinux-dirs += samples
|
|
|
|
+samples: headers_install
|
|
endif
|
|
endif
|
|
|
|
|
|
# The actual objects are generated when descending,
|
|
# The actual objects are generated when descending,
|