Makefile.linux-x86-smp_generic_64-2_6 (1932B)
1 # 2 # Copyright 2017 Broadcom 3 # 4 # This program is free software; you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License, version 2, as 6 # published by the Free Software Foundation (the "GPL"). 7 # 8 # This program is distributed in the hope that it will be useful, but 9 # WITHOUT ANY WARRANTY; without even the implied warranty of 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 # General Public License version 2 (GPLv2) for more details. 12 # 13 # You should have received a copy of the GNU General Public License 14 # version 2 (GPLv2) along with this source code. 15 # 16 # $Id: Makefile.linux-x86-smp_generic_64-2_6,v 1.5 Broadcom SDK $ 17 # $Copyright: (c) 2008 Broadcom Corp. 18 # All Rights Reserved.$ 19 20 CFGFLAGS += -DLONGS_ARE_64BITS 21 CFGFLAGS += -DPTRS_ARE_64BITS 22 CFGFLAGS += -DPHYS_ADDRS_ARE_64BITS 23 CFGFLAGS += -DSAL_SPL_LOCK_ON_IRQ 24 25 include ${SDK}/make/Makefile.linux-x86-generic-common-2_6 26 27 ifeq (,$(KFLAGS)) 28 KFLAGS := -nostdinc -isystem $(SYSINC) -I$(KERNDIR)/include -I$(KERNDIR)/arch/x86/include -include $(AUTOCONF) -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign 29 endif 30 31 32 LINUX_UAPI = $(LINUX_INCLUDE)/uapi 33 ifneq (,$(shell ls $(LINUX_UAPI) 2>/dev/null)) 34 KFLAGS += -I$(LINUX_INCLUDE)/uapi -I$(LINUX_INCLUDE)/generated/uapi -I$(KERNDIR)/arch/x86/include/generated -I$(KERNDIR)/arch/x86/include/uapi -I$(KERNDIR)/arch/x86/include/generated/uapi 35 endif 36 37 include ${SDK}/make/Makefile.linux-x86-common-2_6