forked from Minki/linux
9e953cda5c
This patch implements both 4MB huge page support for 32bit kernel and 2MB/1GB huge pages support for 64bit kernel. Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
17 lines
312 B
Makefile
17 lines
312 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
CFLAGS_init.o := -mcmodel=medany
|
|
ifdef CONFIG_FTRACE
|
|
CFLAGS_REMOVE_init.o = -pg
|
|
endif
|
|
|
|
obj-y += init.o
|
|
obj-y += fault.o
|
|
obj-y += extable.o
|
|
obj-y += ioremap.o
|
|
obj-y += cacheflush.o
|
|
obj-y += context.o
|
|
obj-y += sifive_l2_cache.o
|
|
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|