Mercurial > ecos
changeset 953:c27a128cb861
Allow usbeth to build with FreeBSD stack
| author | bartv |
|---|---|
| date | Sat, 19 Apr 2003 14:42:15 +0000 |
| parents | ff91ad81d086 |
| children | 47dcd8174e3a |
| files | packages/io/usb/eth/slave/current/ChangeLog packages/io/usb/eth/slave/current/cdl/usbs_eth.cdl |
| diffstat | 2 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/usb/eth/slave/current/ChangeLog +++ b/packages/io/usb/eth/slave/current/ChangeLog @@ -1,3 +1,9 @@ +2003-04-19 Bart Veer <bartv@ecoscentric.com> + + * cdl/usbs_eth.cdl: Add per-package compiler flag support and + default to -D_KERNEL and -D__ECOS for use with the new network + stack. + 2003-04-17 Bart Veer <bartv@ecoscentric.com> * doc/usbseth.sgml: Fix typo reported by Patrick Doyle
--- a/packages/io/usb/eth/slave/current/cdl/usbs_eth.cdl +++ b/packages/io/usb/eth/slave/current/cdl/usbs_eth.cdl @@ -8,6 +8,7 @@ #####ECOSGPLCOPYRIGHTBEGIN#### ## ------------------------------------------- ## This file is part of eCos, the Embedded Configurable Operating System. +## Copyright (C) 2003 Bart Veer ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. ## ## eCos is free software; you can redistribute it and/or modify it under @@ -119,4 +120,34 @@ cdl_package CYGPKG_IO_USB_SLAVE_ETH { requires !CYGHWR_NET_DRIVER_ETH1_BOOTP } } + + cdl_component CYGPKG_IO_USB_SLAVE_ETH_OPTIONS { + display "Build options" + flavor none + + description " + Package-specific build options including control over compiler + flags used only in building this package." + + cdl_option CYGPKG_IO_USB_SLAVE_ETH_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 this package. These flags are used in addition + to the set of global flags." + } + cdl_option CYGPKG_IO_USB_SLAVE_ETH_CFLAGS_REMOVE { + display "Suppressed compiler flags" + flavor data + no_define + default_value { "" } + description " + This option modifies the set of compiler flags for + building this package. These flags are removed from + the set of global flags if present." + } + } }
