Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: verify asm-generic header list

In order to integrate the system call header generation with generating
the asm-generic wrappers, restrict the generated headers to those that
actually exist in include/asm-generic/.

The path is already known, so add these as a dependency.

The asm-generic/bugs.h header was removed in commit 61235b24b9cb ("init:
Remove check_bugs() leftovers"), which now causes a build failure, so
drop it from the list.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+1 -2
-1
include/asm-generic/Kbuild
··· 9 9 mandatory-y += barrier.h 10 10 mandatory-y += bitops.h 11 11 mandatory-y += bug.h 12 - mandatory-y += bugs.h 13 12 mandatory-y += cacheflush.h 14 13 mandatory-y += cfi.h 15 14 mandatory-y += checksum.h
+1 -1
scripts/Makefile.asm-generic
··· 46 46 $(if $(unwanted),$(call cmd,remove)) 47 47 @: 48 48 49 - $(obj)/%.h: 49 + $(obj)/%.h: $(srctree)/$(generic)/%.h 50 50 $(call cmd,wrap) 51 51 52 52 # Create output directory. Skip it if at least one old header exists