summaryrefslogtreecommitdiffstats
path: root/Makefile.todo
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijaykumar9597@gmail.com>2019-08-04 01:49:39 +0530
committerChristian Mauderer <oss@c-mauderer.de>2019-08-11 15:57:54 +0200
commit59ce99a357d7e283b2f463d3e22189e88b2ed412 (patch)
tree7316a504d1747959be413d284db82e757a9fc9a4 /Makefile.todo
parente3bc24e616e1dfa9d6c6374153425451addaea0e (diff)
downloadrtems-libbsd-59ce99a357d7e283b2f463d3e22189e88b2ed412.tar.bz2
Pinmux: 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 42bedc15..de3d0c5b 100644
--- a/Makefile.todo
+++ b/Makefile.todo
@@ -47,6 +47,8 @@ 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 += $(LOCAL_INC)/fdt_pinctrl_if.h
+GENERATED += $(LOCAL_SRC)/fdt_pinctrl_if.c
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
@@ -239,6 +241,17 @@ $(LOCAL_SRC)/sdhci_if.c: $(FREEBSD_SRC)/sys/dev/sdhci/sdhci_if.m
-e 's|#include "sdhci_if.h"|#include <rtems/bsd/local/sdhci_if.h>|'
mv sdhci_if.c $@
+$(LOCAL_INC)/fdt_pinctrl_if.h: $(FREEBSD_SRC)/sys/dev/fdt/fdt_pinctrl_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -h
+ mv fdt_pinctrl_if.h $@
+
+$(LOCAL_SRC)/fdt_pinctrl_if.c: $(FREEBSD_SRC)/sys/dev/fdt/fdt_pinctrl_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -c
+ sed -i fdt_pinctrl_if.c \
+ -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
+ -e 's|#include "fdt_pinctrl_if.h"|#include <rtems/bsd/local/fdt_pinctrl_if.h>|'
+ mv fdt_pinctrl_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 $@