Makefile (36ec807b627b4c0a0a382f0ae48eac7187d14b2b) Makefile (32e8eaf263d9be014ba1970444f745682fa9c6c0)
1#
2# This file is included by the global makefile so that you can add your own
3# architecture-specific flags and dependencies.
4#
5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
6# Licensed under the GPL
7#
8

--- 47 unchanged lines hidden (view full) ---

56# embedded copy of longjmp, same thing for setjmp.
57#
58# These apply to USER_CFLAGS to.
59
60KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \
61 $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \
62 -Dlongjmp=kernel_longjmp -Dsetjmp=kernel_setjmp \
63 -Din6addr_loopback=kernel_in6addr_loopback \
1#
2# This file is included by the global makefile so that you can add your own
3# architecture-specific flags and dependencies.
4#
5# Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
6# Licensed under the GPL
7#
8

--- 47 unchanged lines hidden (view full) ---

56# embedded copy of longjmp, same thing for setjmp.
57#
58# These apply to USER_CFLAGS to.
59
60KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \
61 $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \
62 -Dlongjmp=kernel_longjmp -Dsetjmp=kernel_setjmp \
63 -Din6addr_loopback=kernel_in6addr_loopback \
64 -Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr
64 -Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr \
65 -D__close_range=kernel__close_range
65
66KBUILD_RUSTFLAGS += -Crelocation-model=pie
67
68KBUILD_AFLAGS += $(ARCH_INCLUDE)
69
70USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -I%,,$(KBUILD_CFLAGS))) \
71 $(ARCH_INCLUDE) $(MODE_INCLUDE) $(filter -I%,$(CFLAGS)) \
72 -D_FILE_OFFSET_BITS=64 -idirafter $(srctree)/include \

--- 83 unchanged lines hidden ---
66
67KBUILD_RUSTFLAGS += -Crelocation-model=pie
68
69KBUILD_AFLAGS += $(ARCH_INCLUDE)
70
71USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -I%,,$(KBUILD_CFLAGS))) \
72 $(ARCH_INCLUDE) $(MODE_INCLUDE) $(filter -I%,$(CFLAGS)) \
73 -D_FILE_OFFSET_BITS=64 -idirafter $(srctree)/include \

--- 83 unchanged lines hidden ---