Makefile.um (6ac1ef482d7ae0c690f1640bf6eb818ff9a2d91e) Makefile.um (d5efccd5b6843c504042735c1e20d9252daefd98)
1core-y += arch/x86/crypto/
2
3ifeq ($(CONFIG_X86_32),y)
4START := 0x8048000
5
6LDFLAGS += -m elf_i386
7ELF_ARCH := i386
8ELF_FORMAT := elf32-i386
9CHECKFLAGS += -D__i386__
10
11KBUILD_CFLAGS += $(call cc-option,-m32)
12KBUILD_AFLAGS += $(call cc-option,-m32)
13LINK-y += $(call cc-option,-m32)
14
15export LDFLAGS
16
1core-y += arch/x86/crypto/
2
3ifeq ($(CONFIG_X86_32),y)
4START := 0x8048000
5
6LDFLAGS += -m elf_i386
7ELF_ARCH := i386
8ELF_FORMAT := elf32-i386
9CHECKFLAGS += -D__i386__
10
11KBUILD_CFLAGS += $(call cc-option,-m32)
12KBUILD_AFLAGS += $(call cc-option,-m32)
13LINK-y += $(call cc-option,-m32)
14
15export LDFLAGS
16
17LDS_EXTRA := -Ui386
18export LDS_EXTRA
19
17# First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
18include $(srctree)/arch/x86/Makefile_32.cpu
19
20# prevent gcc from keeping the stack 16 byte aligned. Taken from i386.
21cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
22
23# Prevent sprintf in nfsd from being converted to strcpy and resulting in
24# an unresolved reference.

--- 33 unchanged lines hidden ---
20# First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
21include $(srctree)/arch/x86/Makefile_32.cpu
22
23# prevent gcc from keeping the stack 16 byte aligned. Taken from i386.
24cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
25
26# Prevent sprintf in nfsd from being converted to strcpy and resulting in
27# an unresolved reference.

--- 33 unchanged lines hidden ---