# HG changeset patch # User asl # Date 1133552053 0 # Node ID d7cf3683909fbdb09b9212d2ba04b69bb6df5d04 # Parent f946bad981552e5e016087b534fcd64e547a8154 * cdl/sh_dreamcast_rltk8139_eth_drivers.cdl: Add compiler flags "-D_KERNEL -D__ECOS" so the code compiles. diff --git a/packages/devs/eth/sh/dreamcast/current/ChangeLog b/packages/devs/eth/sh/dreamcast/current/ChangeLog --- a/packages/devs/eth/sh/dreamcast/current/ChangeLog +++ b/packages/devs/eth/sh/dreamcast/current/ChangeLog @@ -1,3 +1,8 @@ +2005-12-02 Andrew Lunn + + * cdl/sh_dreamcast_rltk8139_eth_drivers.cdl: Add compiler + flags "-D_KERNEL -D__ECOS" so the code compiles. + 2004-04-21 Yoshinori Sato * src/if_dreamcast.c diff --git a/packages/devs/eth/sh/dreamcast/current/cdl/sh_dreamcast_rltk8139_eth_drivers.cdl b/packages/devs/eth/sh/dreamcast/current/cdl/sh_dreamcast_rltk8139_eth_drivers.cdl --- a/packages/devs/eth/sh/dreamcast/current/cdl/sh_dreamcast_rltk8139_eth_drivers.cdl +++ b/packages/devs/eth/sh/dreamcast/current/cdl/sh_dreamcast_rltk8139_eth_drivers.cdl @@ -86,6 +86,22 @@ cdl_package CYGPKG_DEVS_ETH_SH_DREAMCAST RealTek 8139 ethernet port 0." } } + cdl_component CYGPKG_DEVS_ETH_SH_DREAMCAST_RLTK8139_OPTIONS { + display "RealTek 8139 ethernet driver build options" + flavor none + no_define + + cdl_option CYGPKG_DEVS_ETH_SH_DREAMCAST_RLTK8139_CFLAGS_ADD { + display "Additional compiler flags" + flavor data + no_define + default_value { "-D_KERNEL -D__ECOS" } + description " + This option modifies the set of compiler flags for + building the RealTek 8139 ethernet driver package. These + flags are used in addition to the set of global flags." + } + } } # EOF sh_dreamcast_rltk8139_eth_drivers.cdl