summaryrefslogtreecommitdiffstats
path: root/Makefile.todo
diff options
context:
space:
mode:
authorSichen Zhao <1473996754@qq.com>2017-11-08 21:43:32 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-10 13:10:08 +0100
commit7c68f4ef0b9ea2e3222859ff5e68ea926ddb6259 (patch)
tree94e8f763461aa88eb7f909e0bb4726cbd8dcd52a /Makefile.todo
parent7e52ab9cd0d8e86ca9da95d55cffba7b1264f975 (diff)
downloadrtems-libbsd-7c68f4ef0b9ea2e3222859ff5e68ea926ddb6259.tar.bz2
Port BBB sd driver files to RTEMS.
So BBB can mount and read eMMC and SD card.
Diffstat (limited to 'Makefile.todo')
-rw-r--r--Makefile.todo26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile.todo b/Makefile.todo
index c69908bf..8890fd2e 100644
--- a/Makefile.todo
+++ b/Makefile.todo
@@ -35,6 +35,10 @@ GENERATED += $(LOCAL_SRC)/mmcbus_if.c
GENERATED += $(LOCAL_SRC)/rtwn-rtl8192cfwT.c
GENERATED += $(LOCAL_SRC)/rtwn-rtl8188eufw.c
GENERATED += $(LOCAL_SRC)/runfw.c
+GENERATED += $(LOCAL_INC)/sdhci_if.h
+GENERATED += $(LOCAL_SRC)/sdhci_if.c
+GENERATED += $(LOCAL_INC)/gpiobus_if.h
+GENERATED += $(LOCAL_SRC)/gpiobus_if.c
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
GENERATED += freebsd/contrib/libpcap/grammar.h
@@ -157,6 +161,28 @@ $(LOCAL_INC)/gpio_if.h: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
awk -f $(TOOLS)/makeobjops.awk $< -h
mv gpio_if.h $@
+$(LOCAL_INC)/gpiobus_if.h: $(FREEBSD_SRC)/sys/dev/gpio/gpiobus_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -h
+ mv gpiobus_if.h $@
+
+$(LOCAL_SRC)/gpiobus_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpiobus_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -c
+ sed -i gpiobus_if.c \
+ -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
+ -e 's|#include "gpiobus_if.h"|#include <rtems/bsd/local/gpiobus_if.h>|'
+ mv gpiobus_if.c $@
+
+$(LOCAL_INC)/sdhci_if.h: $(FREEBSD_SRC)/sys/dev/sdhci/sdhci_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -h
+ mv sdhci_if.h $@
+
+$(LOCAL_SRC)/sdhci_if.c: $(FREEBSD_SRC)/sys/dev/sdhci/sdhci_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -c
+ sed -i sdhci_if.c \
+ -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
+ -e 's|#include "sdhci_if.h"|#include <rtems/bsd/local/sdhci_if.h>|'
+ mv sdhci_if.c $@
+
$(LOCAL_SRC)/gpio_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
awk -f $(TOOLS)/makeobjops.awk $< -c
mv gpio_if.c $@