summaryrefslogtreecommitdiffstats
path: root/Makefile.todo
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijaykumar9597@gmail.com>2019-08-04 01:49:43 +0530
committerChristian Mauderer <oss@c-mauderer.de>2019-08-11 15:57:54 +0200
commitd7c01f45691d4289c5b8d5cafe9e2776b03731ea (patch)
tree1af44bf7d6cfce60ed3605c20d5d86b4500379c4 /Makefile.todo
parentfa976bc5aa12591f1fb4194bab3f91e02d7cace4 (diff)
downloadrtems-libbsd-d7c01f45691d4289c5b8d5cafe9e2776b03731ea.tar.bz2
fbd: 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 cad9b2a0..80d582c0 100644
--- a/Makefile.todo
+++ b/Makefile.todo
@@ -53,6 +53,8 @@ GENERATED += $(LOCAL_INC)/clknode_if.h
GENERATED += $(LOCAL_SRC)/clknode_if.c
GENERATED += $(LOCAL_INC)/hdmi_if.h
GENERATED += $(LOCAL_SRC)/hdmi_if.c
+GENERATED += $(LOCAL_INC)/fb_if.h
+GENERATED += $(LOCAL_SRC)/fb_if.c
GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
@@ -278,6 +280,17 @@ $(LOCAL_SRC)/hdmi_if.c: $(FREEBSD_SRC)/sys/dev/hdmi/hdmi_if.m
-e 's|#include "hdmi_if.h"|#include <rtems/bsd/local/hdmi_if.h>|'
mv hdmi_if.c $@
+$(LOCAL_INC)/fb_if.h: $(FREEBSD_SRC)/sys/dev/fb/fb_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -h
+ mv fb_if.h $@
+
+$(LOCAL_SRC)/fb_if.c: $(FREEBSD_SRC)/sys/dev/fb/fb_if.m
+ awk -f $(TOOLS)/makeobjops.awk $< -c
+ sed -i fb_if.c \
+ -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
+ -e 's|#include "fb_if.h"|#include <rtems/bsd/local/fb_if.h>|'
+ mv fb_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 $@