mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 10:27:12 +08:00
Update to FreeBSD head 2016-08-23
Git mirror commit 9fe7c416e6abb28b1398fd3e5687099846800cfd.
This commit is contained in:
@@ -104,3 +104,43 @@ $(LOCAL_INC)/mmcbr_if.h: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
|
||||
$(LOCAL_SRC)/mmcbr_if.c: $(FREEBSD_SRC)/sys/dev/mmc/mmcbr_if.m
|
||||
awk -f $(TOOLS)/makeobjops.awk $< -c
|
||||
mv mmcbr_if.c $@
|
||||
|
||||
$(LOCAL_INC)/if_dwc_if.h: $(FREEBSD_SRC)/sys/dev/dwc/if_dwc_if.m
|
||||
awk -f $(TOOLS)/makeobjops.awk $< -h
|
||||
mv if_dwc_if.h $@
|
||||
|
||||
$(LOCAL_SRC)/if_dwc_if.c: $(FREEBSD_SRC)/sys/dev/dwc/if_dwc_if.m
|
||||
awk -f $(TOOLS)/makeobjops.awk $< -c
|
||||
mv if_dwc_if.c $@
|
||||
|
||||
$(LOCAL_INC)/gpio_if.h: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
|
||||
awk -f $(TOOLS)/makeobjops.awk $< -h
|
||||
mv gpio_if.h $@
|
||||
|
||||
$(LOCAL_SRC)/gpio_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
|
||||
awk -f $(TOOLS)/makeobjops.awk $< -c
|
||||
mv gpio_if.c $@
|
||||
|
||||
freebsd/usr.bin/netstat/nl_symbols.c: $(FREEBSD_SRC)/usr.bin/netstat/nlist_symbols
|
||||
awk '\
|
||||
BEGIN { \
|
||||
print "#include <sys/param.h>"; \
|
||||
print "#include <nlist.h>"; \
|
||||
print "const struct nlist nl[] = {"; \
|
||||
} \
|
||||
!/^\#/ { printf("\t{ .n_name = \"%s\" },\n", $$2); } \
|
||||
END { print "\t{ .n_name = NULL },\n};" } \
|
||||
' < $< > $@ || rm -f $@
|
||||
|
||||
freebsd/usr.bin/netstat/nl_defs.h: $(FREEBSD_SRC)/usr.bin/netstat/nlist_symbols
|
||||
awk '\
|
||||
BEGIN { \
|
||||
print "#include <nlist.h>"; \
|
||||
print "extern const struct nlist nl[];"; \
|
||||
i = 0; \
|
||||
} \
|
||||
!/^\#/ { printf("\#define\tN%s\t%s\n", toupper($$2), i++); }' \
|
||||
< $< > $@ || rm -f $@
|
||||
|
||||
clean:
|
||||
rm $(GENERATED)
|
||||
|
Reference in New Issue
Block a user