Skip to content

Commit 72dab5c

Browse files
fjtrujyclaude
andcommitted
style: [tcpip] one-object-per-line formatting in ps2api/ps2ip lists
Reflow the ps2api_OBJECTS, ps2api_IPV4 and ps2ip_OBJECTS lists in both ee/network/tcpip/Makefile and iop/tcpip/tcpip/Makefile onto one object per line. Makes future additions (and diffs) easier to review without changing any compile output — the installed ps2ip-nm.irx is byte-identical before/after. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 99ed546 commit 72dab5c

2 files changed

Lines changed: 70 additions & 6 deletions

File tree

ee/network/tcpip/Makefile

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,41 @@ endif
3535

3636
EE_INCS += -I$(LWIP)/src/include -I$(LWIP)/src/include/ipv4
3737

38-
ps2api_OBJECTS = api_lib.o api_msg.o api_netbuf.o err.o sockets.o tcpip.o
39-
ps2api_IPV4 = icmp.o ip.o ip4.o ip4_addr.o ip4_frag.o inet_chksum.o
40-
ps2ip_OBJECTS = sys.o lwip_init.o mem.o netif.o pbuf.o stats.o tcp_in.o tcp_out.o udp.o memp.o tcp.o ethernet.o etharp.o raw.o def.o timeouts.o $(ps2api_IPV4) $(ps2api_OBJECTS)
38+
ps2api_OBJECTS = \
39+
api_lib.o \
40+
api_msg.o \
41+
api_netbuf.o \
42+
err.o \
43+
sockets.o \
44+
tcpip.o
45+
46+
ps2api_IPV4 = \
47+
icmp.o \
48+
ip.o \
49+
ip4.o \
50+
ip4_addr.o \
51+
ip4_frag.o \
52+
inet_chksum.o
53+
54+
ps2ip_OBJECTS = \
55+
sys.o \
56+
lwip_init.o \
57+
mem.o \
58+
netif.o \
59+
pbuf.o \
60+
stats.o \
61+
tcp_in.o \
62+
tcp_out.o \
63+
udp.o \
64+
memp.o \
65+
tcp.o \
66+
ethernet.o \
67+
etharp.o \
68+
raw.o \
69+
def.o \
70+
timeouts.o \
71+
$(ps2api_IPV4) \
72+
$(ps2api_OBJECTS)
4173

4274
ifdef PS2IP_DHCP
4375
ps2ip_OBJECTS += dhcp.o

iop/tcpip/tcpip/Makefile

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,41 @@ IOP_INCS += \
4545
-I$(LWIP)/src/include/ipv4 \
4646
-I$(PS2IP_BASE)/include
4747

48-
ps2api_OBJECTS = api_lib.o api_msg.o api_netbuf.o err.o sockets.o tcpip.o
49-
ps2api_IPV4 = icmp.o ip.o ip4.o ip4_addr.o ip4_frag.o inet_chksum.o
50-
ps2ip_OBJECTS = sys.o lwip_init.o mem.o netif.o pbuf.o stats.o tcp_in.o tcp_out.o udp.o memp.o tcp.o ethernet.o etharp.o raw.o def.o timeouts.o $(ps2api_IPV4) $(ps2api_OBJECTS)
48+
ps2api_OBJECTS = \
49+
api_lib.o \
50+
api_msg.o \
51+
api_netbuf.o \
52+
err.o \
53+
sockets.o \
54+
tcpip.o
55+
56+
ps2api_IPV4 = \
57+
icmp.o \
58+
ip.o \
59+
ip4.o \
60+
ip4_addr.o \
61+
ip4_frag.o \
62+
inet_chksum.o
63+
64+
ps2ip_OBJECTS = \
65+
sys.o \
66+
lwip_init.o \
67+
mem.o \
68+
netif.o \
69+
pbuf.o \
70+
stats.o \
71+
tcp_in.o \
72+
tcp_out.o \
73+
udp.o \
74+
memp.o \
75+
tcp.o \
76+
ethernet.o \
77+
etharp.o \
78+
raw.o \
79+
def.o \
80+
timeouts.o \
81+
$(ps2api_IPV4) \
82+
$(ps2api_OBJECTS)
5183

5284
ifdef PS2IP_DHCP
5385
ps2ip_OBJECTS += dhcp.o

0 commit comments

Comments
 (0)