Changeset 7c68f4e in rtems-libbsd for Makefile.todo


Ignore:
Timestamp:
Nov 8, 2017, 1:43:32 PM (2 years ago)
Author:
Sichen Zhao <1473996754@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
847de24
Parents:
7e52ab9
git-author:
Sichen Zhao <1473996754@…> (11/08/17 13:43:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/10/17 12:10:08)
Message:

Port BBB sd driver files to RTEMS.

So BBB can mount and read eMMC and SD card.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.todo

    r7e52ab9 r7c68f4e  
    3636GENERATED += $(LOCAL_SRC)/rtwn-rtl8188eufw.c
    3737GENERATED += $(LOCAL_SRC)/runfw.c
     38GENERATED += $(LOCAL_INC)/sdhci_if.h
     39GENERATED += $(LOCAL_SRC)/sdhci_if.c
     40GENERATED += $(LOCAL_INC)/gpiobus_if.h
     41GENERATED += $(LOCAL_SRC)/gpiobus_if.c
    3842GENERATED += rtemsbsd/include/machine/rtems-bsd-regdomain.h
    3943GENERATED += rtemsbsd/rtems/rtems-bsd-regdomain.c
     
    157161        awk -f $(TOOLS)/makeobjops.awk $< -h
    158162        mv gpio_if.h $@
     163
     164$(LOCAL_INC)/gpiobus_if.h: $(FREEBSD_SRC)/sys/dev/gpio/gpiobus_if.m
     165        awk -f $(TOOLS)/makeobjops.awk $< -h
     166        mv gpiobus_if.h $@
     167
     168$(LOCAL_SRC)/gpiobus_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpiobus_if.m
     169        awk -f $(TOOLS)/makeobjops.awk $< -c
     170        sed -i gpiobus_if.c \
     171            -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
     172            -e 's|#include "gpiobus_if.h"|#include <rtems/bsd/local/gpiobus_if.h>|'
     173        mv gpiobus_if.c $@
     174
     175$(LOCAL_INC)/sdhci_if.h: $(FREEBSD_SRC)/sys/dev/sdhci/sdhci_if.m
     176        awk -f $(TOOLS)/makeobjops.awk $< -h
     177        mv sdhci_if.h $@
     178
     179$(LOCAL_SRC)/sdhci_if.c: $(FREEBSD_SRC)/sys/dev/sdhci/sdhci_if.m
     180        awk -f $(TOOLS)/makeobjops.awk $< -c
     181        sed -i sdhci_if.c \
     182            -e '1 i\#include <machine/rtems-bsd-kernel-space.h>\n' \
     183            -e 's|#include "sdhci_if.h"|#include <rtems/bsd/local/sdhci_if.h>|'
     184        mv sdhci_if.c $@
    159185
    160186$(LOCAL_SRC)/gpio_if.c: $(FREEBSD_SRC)/sys/dev/gpio/gpio_if.m
Note: See TracChangeset for help on using the changeset viewer.