Makefile (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | Makefile (ae17381608a11781a6a67e0ce51607f36780aac7) |
---|---|
1# 2# Copyright (C) 2002 Jeff Dike (jdike@karaya.com) 3# Licensed under the GPL 4# 5 6ARCH_DIR := arch/um 7OS := $(shell uname -s) 8# We require bash because the vmlinux link and loader script cpp use bash --- 46 unchanged lines hidden (view full) --- 55CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \ 56 $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \ 57 -Din6addr_loopback=kernel_in6addr_loopback 58 59AFLAGS += $(ARCH_INCLUDE) 60 61USER_CFLAGS := $(patsubst -I%,,$(CFLAGS)) 62USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \ | 1# 2# Copyright (C) 2002 Jeff Dike (jdike@karaya.com) 3# Licensed under the GPL 4# 5 6ARCH_DIR := arch/um 7OS := $(shell uname -s) 8# We require bash because the vmlinux link and loader script cpp use bash --- 46 unchanged lines hidden (view full) --- 55CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \ 56 $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \ 57 -Din6addr_loopback=kernel_in6addr_loopback 58 59AFLAGS += $(ARCH_INCLUDE) 60 61USER_CFLAGS := $(patsubst -I%,,$(CFLAGS)) 62USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \ |
63 $(MODE_INCLUDE) | 63 $(MODE_INCLUDE) -D_FILE_OFFSET_BITS=64 |
64 65# -Derrno=kernel_errno - This turns all kernel references to errno into 66# kernel_errno to separate them from the libc errno. This allows -fno-common 67# in CFLAGS. Otherwise, it would cause ld to complain about the two different 68# errnos. 69 70CFLAGS += -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask 71CFLAGS += $(call cc-option,-fno-unit-at-a-time,) --- 154 unchanged lines hidden --- | 64 65# -Derrno=kernel_errno - This turns all kernel references to errno into 66# kernel_errno to separate them from the libc errno. This allows -fno-common 67# in CFLAGS. Otherwise, it would cause ld to complain about the two different 68# errnos. 69 70CFLAGS += -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask 71CFLAGS += $(call cc-option,-fno-unit-at-a-time,) --- 154 unchanged lines hidden --- |