This line is weird in multiple ways. (CONFIG_GENERIC_CSUM) might be a typo of $(CONFIG_GENERIC_CSUM). Even if you add '$' to it, $(CONFIG_GENERIC_CSUM) is never evaluated to 'y' because scripts/Makefile.asm-generic does not include include/config/auto.conf. So, the asm-generic wrapper of checksum.h is never generated. Even if you manage to generate it, it is never included by anyone because MIPS has the checkin header with the same file name: arch/mips/include/asm/checksum.h As you see in the top Makefile, the checkin headers are included before generated ones. LINUXINCLUDE := \ -I$(srctree)/arch/$(SRCARCH)/include \ -I$(objtree)/arch/$(SRCARCH)/include/generated \ ... Commit 4e0748f5beb9 ("MIPS: Use generic checksum functions for MIPS R6") already added the asm-generic fallback code in the checkin header: #ifdef CONFIG_GENERIC_CSUM #include <asm/generic/checksum.h> #else ... #endif Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-kernel@vger.kernel.org
28 lines
704 B
Makefile
28 lines
704 B
Makefile
# MIPS headers
|
|
generated-y += syscall_table_32_o32.h
|
|
generated-y += syscall_table_64_n32.h
|
|
generated-y += syscall_table_64_n64.h
|
|
generated-y += syscall_table_64_o32.h
|
|
generic-y += current.h
|
|
generic-y += device.h
|
|
generic-y += dma-contiguous.h
|
|
generic-y += emergency-restart.h
|
|
generic-y += export.h
|
|
generic-y += irq_work.h
|
|
generic-y += local64.h
|
|
generic-y += mcs_spinlock.h
|
|
generic-y += mm-arch-hooks.h
|
|
generic-y += msi.h
|
|
generic-y += parport.h
|
|
generic-y += percpu.h
|
|
generic-y += preempt.h
|
|
generic-y += qrwlock.h
|
|
generic-y += qspinlock.h
|
|
generic-y += sections.h
|
|
generic-y += segment.h
|
|
generic-y += trace_clock.h
|
|
generic-y += unaligned.h
|
|
generic-y += user.h
|
|
generic-y += word-at-a-time.h
|
|
generic-y += xor.h
|