Makefile.linux-x86-common (590B)
1 # 2 # This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 # 4 # Copyright 2007-2019 Broadcom Inc. All rights reserved. 5 6 # Default tools 7 ifeq (,$(CROSS_COMPILE)) 8 CROSS_COMPILE := i686-linux- 9 override PATH := $(PATH):/projects/ntsw-tools/toolchains/gnu/host/i686-linux/bin 10 endif 11 12 CFGFLAGS += -DSYS_BE_PIO=0 -DSYS_BE_PACKET=0 -DSYS_BE_OTHER=0 13 ENDIAN = LE_HOST=1 14 CFGFLAGS += -D$(ENDIAN) 15 16 ifeq (,$(KFLAGS)) 17 KFLAGS := -D__KERNEL__ -O2 18 endif 19 20 ifneq ($(targetplat),user) 21 include ${SDK}/make/Makefile.linux-kernel 22 endif