2 -include $(ROOTDIR
)/modules
/.config
5 # You will need to point this at your Intel ixp425 includes, this portion
6 # of the Makefile only really works under SGLinux with the appropriate libs
7 # installed. They can be downloaded from http://www.snapgear.org/
9 ifeq ($(CONFIG_CPU_IXP46X
),y
)
12 ifeq ($(CONFIG_CPU_IXP43X
),y
)
19 ifdef CONFIG_IXP400_LIB_2_4
20 IX_XSCALE_SW
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.4
/ixp400_xscale_sw
21 OSAL_DIR
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.4
/ixp_osal
23 ifdef CONFIG_IXP400_LIB_2_1
24 IX_XSCALE_SW
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.1
/ixp400_xscale_sw
25 OSAL_DIR
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.1
/ixp_osal
27 ifdef CONFIG_IXP400_LIB_2_0
28 IX_XSCALE_SW
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.0
/ixp400_xscale_sw
29 OSAL_DIR
= $(ROOTDIR
)/modules
/ixp425
/ixp400-2.0
/ixp_osal
32 ifdef CONFIG_IXP400_LIB_2_4
35 -I
$(IX_XSCALE_SW
)/src
/include \
36 -I
$(OSAL_DIR
)/common
/include/ \
37 -I
$(OSAL_DIR
)/common
/include/modules
/ \
38 -I
$(OSAL_DIR
)/common
/include/modules
/ddk
/ \
39 -I
$(OSAL_DIR
)/common
/include/modules
/bufferMgt
/ \
40 -I
$(OSAL_DIR
)/common
/include/modules
/ioMem
/ \
41 -I
$(OSAL_DIR
)/common
/os
/linux
/include/ \
42 -I
$(OSAL_DIR
)/common
/os
/linux
/include/core
/ \
43 -I
$(OSAL_DIR
)/common
/os
/linux
/include/modules
/ \
44 -I
$(OSAL_DIR
)/common
/os
/linux
/include/modules
/ddk
/ \
45 -I
$(OSAL_DIR
)/common
/os
/linux
/include/modules
/bufferMgt
/ \
46 -I
$(OSAL_DIR
)/common
/os
/linux
/include/modules
/ioMem
/ \
47 -I
$(OSAL_DIR
)/platforms
/$(IXPLATFORM
)/include/ \
48 -I
$(OSAL_DIR
)/platforms
/$(IXPLATFORM
)/os
/linux
/include/ \
49 -DENABLE_IOMEM
-DENABLE_BUFFERMGT
-DENABLE_DDK \
54 -I
$(IX_XSCALE_SW
)/src
/include \
56 -I
$(OSAL_DIR
)/os
/linux
/include/ \
57 -I
$(OSAL_DIR
)/os
/linux
/include/modules
/ \
58 -I
$(OSAL_DIR
)/os
/linux
/include/modules
/ioMem
/ \
59 -I
$(OSAL_DIR
)/os
/linux
/include/modules
/bufferMgt
/ \
60 -I
$(OSAL_DIR
)/os
/linux
/include/core
/ \
61 -I
$(OSAL_DIR
)/os
/linux
/include/platforms
/ \
62 -I
$(OSAL_DIR
)/os
/linux
/include/platforms
/ixp400
/ \
63 -I
$(OSAL_DIR
)/os
/linux
/include/platforms
/ixp400
/ixp425 \
64 -I
$(OSAL_DIR
)/os
/linux
/include/platforms
/ixp400
/ixp465 \
65 -I
$(OSAL_DIR
)/os
/linux
/include/core
/ \
66 -I
$(OSAL_DIR
)/include/ \
67 -I
$(OSAL_DIR
)/include/modules
/ \
68 -I
$(OSAL_DIR
)/include/modules
/bufferMgt
/ \
69 -I
$(OSAL_DIR
)/include/modules
/ioMem
/ \
70 -I
$(OSAL_DIR
)/include/platforms
/ \
71 -I
$(OSAL_DIR
)/include/platforms
/ixp400
/ \
75 ifdef CONFIG_IXP400_LIB_1_4
78 -I
$(ROOTDIR
)/modules
/ixp425
/ixp400-1.4
/ixp400_xscale_sw
/src
/include \
79 -I
$(ROOTDIR
)/modules
/ixp425
/ixp400-1.4
/ixp400_xscale_sw
/src
/linux \
83 IXPDIR
= ixp-version-is-not-supported
86 ifeq ($(CONFIG_CPU_IXP46X
),y
)
87 IXP_CFLAGS
+= -D__ixp46X
89 ifeq ($(CONFIG_CPU_IXP43X
),y
)
90 IXP_CFLAGS
+= -D__ixp43X
92 IXP_CFLAGS
+= -D__ixp42X
96 obj-
$(CONFIG_OCF_IXP4XX
) += ixp4xx.o
99 EXTRA_CFLAGS
+= $(IXP_CFLAGS
) -I
$(obj
)/..
-I
$(obj
)/.
102 -include $(TOPDIR
)/Rules.make