summaryrefslogtreecommitdiffstats
path: root/Makefile.todo
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijaykumar9597@gmail.com>2019-06-25 12:43:40 +0530
committerChristian Mauderer <oss@c-mauderer.de>2019-06-29 10:31:01 +0200
commit4e1325a33862991119da67f2ec02aca5caaa85f5 (patch)
tree227571f42097a849c78deed22e69898d9f962d09 /Makefile.todo
parent627fd1624ef5567fe2d82b7c1282144fa350393e (diff)
downloadrtems-libbsd-4e1325a33862991119da67f2ec02aca5caaa85f5.tar.bz2
iicbus: port to RTEMS
Diffstat (limited to 'Makefile.todo')
-rw-r--r--Makefile.todo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.todo b/Makefile.todo
index 9754ddb6..42bedc15 100644
--- a/Makefile.todo
+++ b/Makefile.todo
@@ -45,6 +45,8 @@ 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 += $(LOCAL_INC)/iicbus_if.h
+GENERATED += $(LOCAL_SRC)/iicbus_if.c
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
@@ -215,6 +217,17 @@ $(LOCAL_SRC)/gpiobus_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpiobus_if.m
-e 's|#include "gpiobus_if.h"|#include <rtems/bsd/local/gpiobus_if.h>|'
mv gpiobus_if.c $@
+$(LOCAL_INC)/iicbus_if.h: $(FREEBSD_SRC)/sys/dev/iicbus/iicbus_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -h
+ mv iicbus_if.h $@
+
+$(LOCAL_SRC)/iicbus_if.c: $(FREEBSD_SRC)/sys/dev/iicbus/iicbus_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -c
+ sed -i iicbus_if.c \
+ -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
+ -e 's|#include "iicbus_if.h"|#include <rtems/bsd/local/iicbus_if.h>|'
+ mv iicbus_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 $@