Skip to content

Commit c40e45b

Browse files
committed
Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
1 parent 8c0eeba commit c40e45b

File tree

1,040 files changed

+156859
-67032
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,040 files changed

+156859
-67032
lines changed

Makefile.todo

+40
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,43 @@ $(LOCAL_INC)/mmcbr_if.h: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
104104
$(LOCAL_SRC)/mmcbr_if.c: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
105105
awk -f $(TOOLS)/makeobjops.awk $< -c
106106
mv mmcbr_if.c $@
107+
108+
$(LOCAL_INC)/if_dwc_if.h: $(FREEBSD_SRC)/sys/dev/dwc/if_dwc_if.m
109+
awk -f $(TOOLS)/makeobjops.awk $< -h
110+
mv if_dwc_if.h $@
111+
112+
$(LOCAL_SRC)/if_dwc_if.c: $(FREEBSD_SRC)/sys/dev/dwc/if_dwc_if.m
113+
awk -f $(TOOLS)/makeobjops.awk $< -c
114+
mv if_dwc_if.c $@
115+
116+
$(LOCAL_INC)/gpio_if.h: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
117+
awk -f $(TOOLS)/makeobjops.awk $< -h
118+
mv gpio_if.h $@
119+
120+
$(LOCAL_SRC)/gpio_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
121+
awk -f $(TOOLS)/makeobjops.awk $< -c
122+
mv gpio_if.c $@
123+
124+
freebsd/usr.bin/netstat/nl_symbols.c: $(FREEBSD_SRC)/usr.bin/netstat/nlist_symbols
125+
awk '\
126+
BEGIN { \
127+
print "#include <sys/param.h>"; \
128+
print "#include <nlist.h>"; \
129+
print "const struct nlist nl[] = {"; \
130+
} \
131+
!/^\#/ { printf("\t{ .n_name = \"%s\" },\n", $$2); } \
132+
END { print "\t{ .n_name = NULL },\n};" } \
133+
' < $< > $@ || rm -f $@
134+
135+
freebsd/usr.bin/netstat/nl_defs.h: $(FREEBSD_SRC)/usr.bin/netstat/nlist_symbols
136+
awk '\
137+
BEGIN { \
138+
print "#include <nlist.h>"; \
139+
print "extern const struct nlist nl[];"; \
140+
i = 0; \
141+
} \
142+
!/^\#/ { printf("\#define\tN%s\t%s\n", toupper($$2), i++); }' \
143+
< $< > $@ || rm -f $@
144+
145+
clean:
146+
rm $(GENERATED)

builder.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def commonNoWarnings():
173173
def includes():
174174
return ['-Irtemsbsd/include',
175175
'-Ifreebsd/sys',
176-
'-Ifreebsd/sys/contrib/altq',
177176
'-Ifreebsd/sys/contrib/pf',
177+
'-Ifreebsd/sys/net',
178178
'-Ifreebsd/include',
179179
'-Ifreebsd/lib/libc/include',
180180
'-Ifreebsd/lib/libc/isc/include',
@@ -184,6 +184,7 @@ def includes():
184184
'-Ifreebsd/lib/libmemstat',
185185
'-Ifreebsd/lib/libipsec',
186186
'-Ifreebsd/contrib/libpcap',
187+
'-Ifreebsd/contrib/libxo',
187188
'-Irtemsbsd/sys',
188189
'-ImDNSResponder/mDNSCore',
189190
'-ImDNSResponder/mDNSShared',
@@ -205,7 +206,6 @@ def headerPaths():
205206
return [('rtemsbsd/include', '*.h', ''),
206207
('rtemsbsd/mghttpd', 'mongoose.h', 'mghttpd'),
207208
('freebsd/include', '*.h', ''),
208-
('freebsd/sys/contrib/altq/altq', '*.h', 'altq'),
209209
('freebsd/sys/bsm', '*.h', 'bsm'),
210210
('freebsd/sys/cam', '*.h', 'cam'),
211211
('freebsd/sys/net', '*.h', 'net'),

create-kernel-namespace.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ objdump --syms `for i in build/*rtems* ; do \
7272
| sed '/^max_linkhdr$/d' \
7373
| sed '/^max_protohdr$/d' \
7474
| sed '/^maxsockets$/d' \
75-
| sed '/^mbstat$/d' \
7675
| sed '/^nd6_debug$/d' \
7776
| sed '/^nd6_delay$/d' \
7877
| sed '/^nd6_gctimer$/d' \
@@ -92,6 +91,7 @@ objdump --syms `for i in build/*rtems* ; do \
9291
| sed '/^pause$/d' \
9392
| sed '/^pf_osfp_entry_pl$/d' \
9493
| sed '/^pf_osfp_pl$/d' \
94+
| sed '/^pipe$/d' \
9595
| sed '/^poll$/d' \
9696
| sed '/^random$/d' \
9797
| sed '/^realloc$/d' \

freebsd-org

0 commit comments

Comments
 (0)