Changeset d8d6a08 in rtems


Ignore:
Timestamp:
Jan 27, 2018, 10:12:44 AM (17 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4cf93658
Parents:
1c64c688
git-author:
Sebastian Huber <sebastian.huber@…> (01/27/18 10:12:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/31/18 10:18:17)
Message:

bsps: Move network define to source files

Define INSIDE_RTEMS_BSD_TCPIP_STACK in the network interface driver
source files to avoid some build system magic.

Files:
84 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/motorola_powerpc/include/bsp.h

    r1c64c688 rd8d6a08  
    141141#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_ne_driver_attach
    142142extern int rtems_ne_driver_attach();
     143
     144RTEMS_INLINE_ROUTINE const char* bsp_cmdline_arg(const char* arg)
     145{
     146  return rtems_bsp_cmdline_get_param_raw(arg);
     147}
    143148#endif
    144149
  • c/src/lib/libbsp/arm/csb336/Makefile.am

    r1c64c688 rd8d6a08  
    5252
    5353if HAS_NETWORKING
    54 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    55 noinst_PROGRAMS += network.rel
    56 network_rel_SOURCES = network/network.c network/lan91c11x.c
    57 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    58 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     54libbsp_a_SOURCES += network/lan91c11x.c
     55libbsp_a_SOURCES += network/network.c
    5956endif
    6057
    6158libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
    6259
    63 if HAS_NETWORKING
    64 libbsp_a_LIBADD += network.rel
    65 endif
    66 
    6760include $(top_srcdir)/../../../../automake/local.am
    6861include $(srcdir)/../../../../../../bsps/arm/csb336/headers.am
  • c/src/lib/libbsp/arm/csb336/network/lan91c11x.c

    r1c64c688 rd8d6a08  
    1717 *  http://www.rtems.org/license/LICENSE.
    1818 */
     19
     20#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     21
    1922#include <rtems.h>
    2023#include "lan91c11x.h"
  • c/src/lib/libbsp/arm/csb336/network/network.c

    r1c64c688 rd8d6a08  
    99 *  http://www.rtems.org/license/LICENSE.
    1010 */
     11
     12#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     13
    1114#include <rtems.h>
    1215#include <rtems/rtems_bsdnet.h>
  • c/src/lib/libbsp/arm/csb337/Makefile.am

    r1c64c688 rd8d6a08  
    8383
    8484if HAS_NETWORKING
    85 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    86 noinst_PROGRAMS += network.rel
    87 network_rel_SOURCES = network/network.c
    88 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    89 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     85libbsp_a_SOURCES += network/network.c
    9086endif
    9187
    9288libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
    93 if HAS_NETWORKING
    94 libbsp_a_LIBADD += network.rel
    95 endif
    9689
    9790include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/arm/csb337/network/network.c

    r1c64c688 rd8d6a08  
    1010 *             MicroMonitor 1.17.
    1111 */
     12
     13#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1214
    1315#include <rtems.h>
  • c/src/lib/libbsp/arm/edb7312/Makefile.am

    r1c64c688 rd8d6a08  
    5656
    5757if HAS_NETWORKING
    58 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    59 noinst_PROGRAMS += network.rel
    60 network_rel_SOURCES = network/network.c
    61 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    62 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    63 endif
    64 
    65 # libcpu libraries could go here
    66 libbsp_a_LIBADD =
    67 if HAS_NETWORKING
    68 libbsp_a_LIBADD += network.rel
     58libbsp_a_SOURCES += network/network.c
    6959endif
    7060
  • c/src/lib/libbsp/arm/edb7312/network/network.c

    r1c64c688 rd8d6a08  
     1#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     2
    13#include <rtems.h>
    24#include <sys/param.h>
  • c/src/lib/libbsp/arm/gumstix/Makefile.am

    r1c64c688 rd8d6a08  
    5151libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../../shared/include
    5252
    53 #framebuffer
    5453if ON_SKYEYE
    5554libbsp_a_SOURCES += fb/fb.c
    5655if HAS_NETWORKING
    57 rtl8019_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    58 noinst_PROGRAMS += rtl8019.rel
    59 rtl8019_rel_SOURCES = rtl8019/rtl8019.c rtl8019/wd80x3.h
    60 rtl8019_rel_CPPFLAGS = $(AM_CPPFLAGS) $(rtl8019_CPPFLAGS)
    61 rtl8019_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     56libbsp_a_SOURCES += rtl8019/rtl8019.c rtl8019/wd80x3.h
    6257endif
    6358endif
     
    6560libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
    6661
    67 if ON_SKYEYE
    68 if HAS_NETWORKING
    69 libbsp_a_LIBADD += rtl8019.rel
    70 endif
    71 endif
    72 
    7362include $(top_srcdir)/../../../../automake/local.am
    7463include $(srcdir)/../../../../../../bsps/arm/gumstix/headers.am
  • c/src/lib/libbsp/arm/gumstix/rtl8019/rtl8019.c

    r1c64c688 rd8d6a08  
    88 *  http://www.rtems.org/license/LICENSE.
    99 */
     10
     11#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1012
    1113#include <bsp.h>
  • c/src/lib/libbsp/arm/lpc24xx/Makefile.am

    r1c64c688 rd8d6a08  
    138138
    139139if HAS_NETWORKING
    140 
    141 noinst_PROGRAMS = network.rel
    142 
    143 network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
    144 network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    145 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    146 
    147 libbsp_a_LIBADD += network.rel
    148 
     140libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
    149141endif
    150142
  • c/src/lib/libbsp/arm/lpc32xx/Makefile.am

    r1c64c688 rd8d6a08  
    118118
    119119if HAS_NETWORKING
    120 
    121 noinst_PROGRAMS = network.rel
    122 
    123 network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
    124 network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    125 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    126 
    127 libbsp_a_LIBADD += network.rel
    128 
     120libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
    129121endif
    130122
  • c/src/lib/libbsp/arm/raspberrypi/Makefile.am

    r1c64c688 rd8d6a08  
    3838
    3939libbsp_a_SOURCES =
    40 libbsp_a_CPPFLAGS = $(AM_CPPFLAGS)
    41 libbsp_a_LIBADD =
    4240
    4341# Shared
     
    120118libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
    121119libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
    122 libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
     120libbsp_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../shared/armv467ar-basic-cache
    123121
    124122# Start hooks
     
    130128
    131129###############################################################################
    132 # Network                                                    #
    133 ###############################################################################
    134 
    135 #if HAS_NETWORKING
    136 #
    137 #noinst_PROGRAMS = network.rel
    138 #
    139 #network_rel_SOURCES = ../shared/lpc/network/lpc-ethernet.c
    140 #network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    141 #network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    142 #
    143 #
    144 #libbsp_a_LIBADD += network.rel
    145 #
    146 #endif
    147 
    148 ###############################################################################
    149130#                  Special Rules                                              #
    150131###############################################################################
  • c/src/lib/libbsp/arm/rtl22xx/Makefile.am

    r1c64c688 rd8d6a08  
    5555
    5656if HAS_NETWORKING
    57 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    58 noinst_PROGRAMS += network.rel
    59 network_rel_SOURCES = network/network.c
    60 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    61 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    62 endif
    63 
    64 libbsp_a_LIBADD =
    65 if HAS_NETWORKING
    66 libbsp_a_LIBADD += network.rel
     57libbsp_a_SOURCES += network/network.c
    6758endif
    6859
  • c/src/lib/libbsp/arm/rtl22xx/network/network.c

    r1c64c688 rd8d6a08  
    11/*Note: this file is copy from 7312 BSP, and untested yet*/
     2
     3#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     4
    25#include <rtems.h>
    36#include <sys/param.h>
  • c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c

    r1c64c688 rd8d6a08  
    2121 */
    2222
    23 #define __INSIDE_RTEMS_BSD_TCPIP_STACK__ 1
    24 #define __BSD_VISIBLE 1
     23#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2524
    2625#include <errno.h>
  • c/src/lib/libbsp/bfin/bf537Stamp/Makefile.am

    r1c64c688 rd8d6a08  
    3333
    3434if HAS_NETWORKING
    35 networkconfig_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    36 noinst_PROGRAMS += networkconfig.rel
    37 networkconfig_rel_SOURCES = network/networkconfig.c
    38 networkconfig_rel_CPPFLAGS = $(AM_CPPFLAGS) $(networkconfig_CPPFLAGS)
    39 networkconfig_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     35libbsp_a_SOURCES += network/networkconfig.c
    4036endif
    4137
     
    4945
    5046if HAS_NETWORKING
    51 libbsp_a_LIBADD += networkconfig.rel
    5247libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/network.rel
    5348endif
  • c/src/lib/libbsp/bfin/bf537Stamp/network/networkconfig.c

    r1c64c688 rd8d6a08  
    1212 */
    1313
    14 
     14#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1515
    1616#include <bsp.h>
  • c/src/lib/libbsp/i386/pc386/3c509/3c509.c

    r1c64c688 rd8d6a08  
    5353 * eric@skatter.usask.ca
    5454 */
     55
     56#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    5557
    5658#include <bsp.h>
  • c/src/lib/libbsp/i386/pc386/3c509/elink.c

    r1c64c688 rd8d6a08  
    3131 * Common code for dealing with 3COM ethernet cards.
    3232 */
     33
     34#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    3335
    3436#include <sys/types.h>
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r1c64c688 rd8d6a08  
    163163
    164164if HAS_NETWORKING
    165 ne2000_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    166 noinst_PROGRAMS += ne2000.rel
    167 ne2000_rel_SOURCES = ne2000/ne2000.c
    168 ne2000_rel_CPPFLAGS = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)
    169 ne2000_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    170 ne2000_rel_LDFLAGS += -Wl,--undefined=rtems_ne_driver_attach
    171 endif
    172 
    173 if HAS_NETWORKING
    174 wd8003_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    175 noinst_PROGRAMS += wd8003.rel
    176 wd8003_rel_SOURCES = wd8003/wd8003.c
    177 wd8003_rel_CPPFLAGS = $(AM_CPPFLAGS) $(wd8003_CPPFLAGS)
    178 wd8003_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    179 wd8003_rel_LDFLAGS += -Wl,--undefined=rtems_wd_driver_attach
    180 endif
    181 
    182 if HAS_NETWORKING
    183 3c509_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    184 noinst_PROGRAMS += 3c509.rel
    185 3c509_rel_SOURCES = 3c509/3c509.c
    186 3c509_rel_SOURCES += 3c509/3c509.h
    187 3c509_rel_SOURCES += 3c509/elink.c
    188 3c509_rel_SOURCES += 3c509/elink.h
    189 3c509_rel_CPPFLAGS = $(AM_CPPFLAGS) $(3c509_CPPFLAGS)
    190 3c509_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    191 3c509_rel_LDFLAGS += -Wl,--undefined=rtems_3c509_driver_attach
    192 3c509_rel_LDFLAGS += -Wl,--undefined=ep_board
     165libbsp_a_SOURCES += 3c509/3c509.c
     166libbsp_a_SOURCES += 3c509/3c509.h
     167libbsp_a_SOURCES += 3c509/elink.c
     168libbsp_a_SOURCES += 3c509/elink.h
     169libbsp_a_SOURCES += ne2000/ne2000.c
     170libbsp_a_SOURCES += wd8003/wd8003.c
    193171endif
    194172
     
    199177if HAS_SMP
    200178libbsp_a_LIBADD += appstart.$(OBJEXT)
    201 endif
    202 
    203 # We only build the Network library if HAS_NETWORKING was defined
    204 # dec21140 is supported via libchip
    205 if HAS_NETWORKING
    206 libbsp_a_LIBADD += ne2000.rel
    207 libbsp_a_LIBADD += wd8003.rel
    208 libbsp_a_LIBADD += 3c509.rel
    209179endif
    210180
  • c/src/lib/libbsp/i386/pc386/ne2000/ne2000.c

    r1c64c688 rd8d6a08  
    2727 *  that.
    2828 */
     29
     30#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2931
    3032#include <bsp.h>
  • c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c

    r1c64c688 rd8d6a08  
    99 *    eric@skatter.usask.ca
    1010 */
     11
     12#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1113
    1214#include <bsp.h>
  • c/src/lib/libbsp/lm32/lm32_evr/Makefile.am

    r1c64c688 rd8d6a08  
    4747
    4848if HAS_NETWORKING
    49 noinst_PROGRAMS += network.rel
    50 network_rel_SOURCES = ../../lm32/shared/tsmac/tsmac.c
    51 network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    52 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    53 libbsp_a_LIBADD += network.rel
     49libbsp_a_SOURCES += ../../lm32/shared/tsmac/tsmac.c
    5450endif
    5551
  • c/src/lib/libbsp/lm32/milkymist/Makefile.am

    r1c64c688 rd8d6a08  
    9494
    9595if HAS_NETWORKING
    96 noinst_PROGRAMS += network.rel
    97 network_rel_SOURCES = ../../lm32/shared/milkymist_networking/network.c
    98 network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    99 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    100 libbsp_a_LIBADD += network.rel
     96libbsp_a_SOURCES += ../../lm32/shared/milkymist_networking/network.c
    10197endif
    10298
  • c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c

    r1c64c688 rd8d6a08  
    1111 */
    1212
     13#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1314#define RTEMS_STATUS_CHECKS_USE_PRINTK
    1415
  • c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c

    r1c64c688 rd8d6a08  
    1313 */
    1414
     15#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1516#define _KERNEL
    1617
  • c/src/lib/libbsp/m68k/av5282/Makefile.am

    r1c64c688 rd8d6a08  
    3838
    3939if HAS_NETWORKING
    40 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    41 noinst_PROGRAMS += network.rel
    42 network_rel_SOURCES = network/network.c
    43 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    44 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     40libbsp_a_SOURCES += network/network.c
    4541endif
    4642
     
    4945    ../../../libcpu/@RTEMS_CPU@/mcf5282/cachepd.rel \
    5046    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    51 if HAS_NETWORKING
    52 libbsp_a_LIBADD += network.rel
    53 endif
    5447
    5548include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/av5282/network/network.c

    r1c64c688 rd8d6a08  
     1#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     2
    13#include <bsp.h>
    24#include <stdio.h>
  • c/src/lib/libbsp/m68k/csb360/network/network.c

    r1c64c688 rd8d6a08  
    2222 *  Copyright (c) 1999, National Research Council of Canada
    2323 */
     24
     25#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     26
    2427#include <bsp.h>
    2528#include <stdio.h>
  • c/src/lib/libbsp/m68k/gen68360/Makefile.am

    r1c64c688 rd8d6a08  
    4040
    4141if HAS_NETWORKING
    42 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    43 noinst_PROGRAMS += network.rel
    44 network_rel_SOURCES = network/network.c
    45 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    46 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     42libbsp_a_SOURCES += network/network.c
    4743endif
    4844
     
    5046    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
    5147    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    52 if HAS_NETWORKING
    53 libbsp_a_LIBADD += network.rel
    54 endif
    5548if HAS_FPSP
    5649libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
  • c/src/lib/libbsp/m68k/gen68360/network/network.c

    r1c64c688 rd8d6a08  
    88 * eric@skatter.usask.ca
    99 */
     10
     11#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     12
    1013#include <bsp.h>
    1114#include <rtems/m68k/m68360.h>
  • c/src/lib/libbsp/m68k/genmcf548x/Makefile.am

    r1c64c688 rd8d6a08  
    5555
    5656if HAS_NETWORKING
    57 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    58 noinst_PROGRAMS += network.rel
    59 network_rel_SOURCES = network/network.c
    60 network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
    61     $(network_CPPFLAGS)
    62 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     57libbsp_a_SOURCES += network/network.c
    6358endif
    6459
     
    6661                  ../../../libcpu/@RTEMS_CPU@/mcf548x/mcdma.rel
    6762
    68 if HAS_NETWORKING
    69 libbsp_a_LIBADD += network.rel
    70 endif
    71 
    7263include $(top_srcdir)/../../../../automake/local.am
    7364include $(srcdir)/../../../../../../bsps/m68k/genmcf548x/headers.am
  • c/src/lib/libbsp/m68k/genmcf548x/network/network.c

    r1c64c688 rd8d6a08  
    3737 *
    3838 */
     39
     40#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    3941
    4042#include <rtems.h>
  • c/src/lib/libbsp/m68k/mcf5235/Makefile.am

    r1c64c688 rd8d6a08  
    4040
    4141if HAS_NETWORKING
    42 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    43 noinst_PROGRAMS += network.rel
    44 network_rel_SOURCES = network/network.c
    45 network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
    46     $(network_CPPFLAGS)
    47 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     42libbsp_a_SOURCES += network/network.c
    4843endif
    4944
     
    5247    ../../../libcpu/@RTEMS_CPU@/mcf5235/cachepd.rel \
    5348    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    54 if HAS_NETWORKING
    55 libbsp_a_LIBADD += network.rel
    56 endif
    5749
    5850include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5235/network/network.c

    r1c64c688 rd8d6a08  
    44 * TO DO: Check network stack code -- force longword alignment of all tx mbufs?
    55 */
     6
     7#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    68
    79#include <bsp.h>
  • c/src/lib/libbsp/m68k/mcf5329/Makefile.am

    r1c64c688 rd8d6a08  
    3939
    4040if HAS_NETWORKING
    41 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    42 noinst_PROGRAMS += network.rel
    43 network_rel_SOURCES = network/network.c
    44 network_rel_CPPFLAGS = $(AM_CPPFLAGS) \
    45     $(network_CPPFLAGS)
    46 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     41libbsp_a_SOURCES += network/network.c
    4742endif
    4843
     
    5247    ../../../libcpu/@RTEMS_CPU@/mcf532x/cachepd.rel
    5348
    54 if HAS_NETWORKING
    55 libbsp_a_LIBADD += network.rel
    56 endif
    57 
    5849include $(top_srcdir)/../../../../automake/local.am
    5950include $(srcdir)/../../../../../../bsps/m68k/mcf5329/headers.am
  • c/src/lib/libbsp/m68k/mcf5329/network/network.c

    r1c64c688 rd8d6a08  
    44 * TO DO: Check network stack code -- force longword alignment of all tx mbufs?
    55 */
     6
     7#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    68
    79#include <bsp.h>
  • c/src/lib/libbsp/m68k/mvme162/Makefile.am

    r1c64c688 rd8d6a08  
    4242
    4343if HAS_NETWORKING
    44 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    45 noinst_PROGRAMS += network.rel
    46 network_rel_SOURCES = ../mvme167/network/network.c
    47 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    48 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     44libbsp_a_SOURCES += ../mvme167/network/network.c
    4945endif
    5046
     
    5248    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
    5349    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    54 if HAS_NETWORKING
    55 libbsp_a_LIBADD += network.rel
    56 endif
    5750if HAS_FPSP
    5851libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
  • c/src/lib/libbsp/m68k/mvme167/Makefile.am

    r1c64c688 rd8d6a08  
    3939
    4040if HAS_NETWORKING
    41 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    42 noinst_PROGRAMS += network.rel
    43 network_rel_SOURCES = network/network.c
    44 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    45 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     41libbsp_a_SOURCES += network/network.c
    4642endif
    4743
     
    5046    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel \
    5147    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
    52 if HAS_NETWORKING
    53 libbsp_a_LIBADD += network.rel
    54 endif
    5548
    5649EXTRA_DIST += times
  • c/src/lib/libbsp/m68k/mvme167/network/network.c

    r1c64c688 rd8d6a08  
    22 */
    33
     4#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    45#define KERNEL
    56
  • c/src/lib/libbsp/m68k/uC5282/Makefile.am

    r1c64c688 rd8d6a08  
    3737
    3838if HAS_NETWORKING
    39 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    40 noinst_PROGRAMS += network.rel
    41 network_rel_SOURCES = network/network.c
    42 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    43 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     39libbsp_a_SOURCES += network/network.c
    4440endif
    4541
     
    4743    ../../../libcpu/@RTEMS_CPU@/mcf5282/cachepd.rel \
    4844    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    49 if HAS_NETWORKING
    50 libbsp_a_LIBADD += network.rel
    51 endif
    5245
    5346include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/uC5282/network/network.c

    r1c64c688 rd8d6a08  
    1111 *  http://www.rtems.org/license/LICENSE.
    1212 */
     13
     14#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1315
    1416#include <bsp.h>
  • c/src/lib/libbsp/mips/csb350/Makefile.am

    r1c64c688 rd8d6a08  
    5151
    5252if HAS_NETWORKING
    53 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    54 noinst_PROGRAMS += network.rel
    55 network_rel_SOURCES = network/network.c
    56 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    57 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     53libbsp_a_SOURCES += network/network.c
    5854endif
    5955
     
    6157libbsp_a_LIBADD += ../../../libcpu/mips/shared/interrupts.rel
    6258
    63 if HAS_NETWORKING
    64 libbsp_a_LIBADD += network.rel
    65 endif
    66 
    6759include $(top_srcdir)/../../../../automake/local.am
    6860include $(srcdir)/../../../../../../bsps/mips/csb350/headers.am
  • c/src/lib/libbsp/mips/csb350/network/network.c

    r1c64c688 rd8d6a08  
    1313 *  http://www.rtems.org/license/LICENSE.
    1414 */
     15
     16#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1517
    1618#include <rtems.h>
  • c/src/lib/libbsp/powerpc/gen83xx/Makefile.am

    r1c64c688 rd8d6a08  
    7575
    7676if HAS_NETWORKING
    77 noinst_PROGRAMS += network.rel
    78 network_rel_SOURCES   = network/network.c
    79 network_rel_CPPFLAGS  = $(AM_CPPFLAGS)
    80 network_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__  -D__BSD_VISIBLE
    81 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     77libbsp_a_SOURCES += network/network.c
     78libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
    8279endif
    8380
     
    9289        ../../../libcpu/@RTEMS_CPU@/mpc83xx/gtm.rel
    9390
    94 if HAS_NETWORKING
    95 libbsp_a_LIBADD += network.rel
    96 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
    97 endif
    98 
    9991EXTRA_DIST += README.mpc8349eamds
    10092
  • c/src/lib/libbsp/powerpc/gen83xx/network/network.c

    r1c64c688 rd8d6a08  
    1919\*===============================================================*/
    2020
     21#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2122
    2223#include <rtems.h>
  • c/src/lib/libbsp/powerpc/haleakala/Makefile.am

    r1c64c688 rd8d6a08  
    4040
    4141if HAS_NETWORKING
    42 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    43 noinst_PROGRAMS = network.rel
    44 network_rel_SOURCES = network/network.c
    45 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    46 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     42libbsp_a_SOURCES += network/network.c
    4743endif
    4844
     
    5551    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
    5652
    57 if HAS_NETWORKING
    58 libbsp_a_LIBADD += network.rel
    59 endif
    60 
    6153include $(top_srcdir)/../../../../automake/local.am
    6254include $(srcdir)/../../../../../../bsps/powerpc/haleakala/headers.am
  • c/src/lib/libbsp/powerpc/haleakala/network/network.c

    r1c64c688 rd8d6a08  
    1212 *
    1313 */
     14
     15#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1416
    1517#include <bsp.h>
  • c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am

    r1c64c688 rd8d6a08  
    111111if QEMU
    112112if HAS_NETWORKING
    113 ne2000_CPPFLAGS          = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    114 ne2000_CPPFLAGS         += '-Dbsp_cmdline_arg=rtems_bsp_cmdline_get_param_raw'
    115 noinst_PROGRAMS         += ne2000.rel
    116 ne2000_rel_SOURCES       = ../../i386/pc386/ne2000/ne2000.c
    117 ne2000_rel_CPPFLAGS      = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)
    118 ne2000_rel_LDFLAGS       = $(RTEMS_RELLDFLAGS)
     113libbsp_a_SOURCES += ../../i386/pc386/ne2000/ne2000.c
    119114endif
    120115endif
     
    133128    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
    134129
    135 if QEMU
    136 if HAS_NETWORKING
    137 libbsp_a_LIBADD+=ne2000.rel
    138 endif
    139 endif
    140 
    141130EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
    142131              README.MVME2400 \
  • c/src/lib/libbsp/powerpc/mpc8260ads/Makefile.am

    r1c64c688 rd8d6a08  
    5151
    5252if HAS_NETWORKING
    53 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    54 network_CPPFLAGS += -D__BSD_VISIBLE
    55 noinst_PROGRAMS += network.rel
    56 network_rel_SOURCES = network/network.c network/if_hdlcsubr.c
    57 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    58 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     53libbsp_a_SOURCES += network/if_hdlcsubr.c
     54libbsp_a_SOURCES += network/network.c
    5955endif
    6056
     
    6763    ../../../libcpu/@RTEMS_CPU@/mpc8260/mmu.rel \
    6864    ../../../libcpu/@RTEMS_CPU@/mpc8260/timer.rel
    69 if HAS_NETWORKING
    70 libbsp_a_LIBADD += network.rel
    71 endif
    7265
    7366EXTRA_DIST += times
  • c/src/lib/libbsp/powerpc/mpc8260ads/network/if_hdlcsubr.c

    r1c64c688 rd8d6a08  
    4848 */
    4949
     50#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     51
    5052#include <rtems/rtems_bsdnet.h>
    5153
  • c/src/lib/libbsp/powerpc/mpc8260ads/network/network.c

    r1c64c688 rd8d6a08  
    2424 * eric@skatter.usask.ca
    2525 */
     26
     27#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     28
    2629#include <bsp.h>
    2730#include <bsp/irq.h>
  • c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c

    r1c64c688 rd8d6a08  
    4444 * ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
    4545 */
     46
     47#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    4648
    4749#include <rtems.h>
  • c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am

    r1c64c688 rd8d6a08  
    5959
    6060if HAS_NETWORKING
    61 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    62 noinst_PROGRAMS += network.rel
    63 network_rel_SOURCES = network/network_scc.c network/network_fec.c
    64 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
    65 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     61libbsp_a_SOURCES += network/network_fec.c
     62libbsp_a_SOURCES += network/network_scc.c
    6663endif
    6764
     
    7774    ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel
    7875
    79 if HAS_NETWORKING
    80 libbsp_a_LIBADD += network.rel
    81 endif
    82 
    8376include $(top_srcdir)/../../../../automake/local.am
    8477include $(srcdir)/../../../../../../bsps/powerpc/tqm8xx/headers.am
  • c/src/lib/libbsp/powerpc/tqm8xx/network/network_fec.c

    r1c64c688 rd8d6a08  
    4848 *  Copyright (c) 1999, National Research Council of Canada
    4949 */
     50
     51#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     52
    5053#include <bsp.h>
    5154#include <stdio.h>
  • c/src/lib/libbsp/powerpc/tqm8xx/network/network_scc.c

    r1c64c688 rd8d6a08  
    4545 *  Copyright (c) 1999, National Research Council of Canada
    4646 */
     47
     48#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     49
    4750#include <bsp.h>
    4851#include <stdio.h>
  • c/src/lib/libbsp/powerpc/virtex/Makefile.am

    r1c64c688 rd8d6a08  
    6060
    6161if HAS_NETWORKING
    62 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    63 network_CPPFLAGS += -D__BSD_VISIBLE
    64 noinst_PROGRAMS += network.rel
    65 network_rel_SOURCES = network/xiltemac.c
    66 network_rel_CPPFLAGS = $(AM_CPPFLAGS)
    67 network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     62libbsp_a_SOURCES += = network/xiltemac.c
    6863endif
    6964
     
    7873    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel
    7974
    80 if HAS_NETWORKING
    81 libbsp_a_LIBADD += network.rel
    82 endif
    83 
    8475include $(top_srcdir)/../../../../automake/local.am
    8576include $(srcdir)/../../../../../../bsps/powerpc/virtex/headers.am
  • c/src/lib/libbsp/powerpc/virtex/network/xiltemac.c

    r1c64c688 rd8d6a08  
    1010 *
    1111 */
     12
     13#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1214#define PPC_HAS_CLASSIC_EXCEPTIONS FALSE
    13 
    14 #ifndef __INSIDE_RTEMS_BSD_TCPIP_STACK__
    15 #define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    16 #endif
    17 
    18 #ifndef __BSD_VISIBLE
    19 #define __BSD_VISIBLE
    20 #endif
    2115
    2216#include <bsp.h>
  • c/src/lib/libbsp/sparc/erc32/Makefile.am

    r1c64c688 rd8d6a08  
    7474
    7575if HAS_NETWORKING
    76 erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    77 noinst_PROGRAMS += erc32sonic.rel
    78 erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
    79 erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
    80 erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     76libbsp_a_SOURCES += erc32sonic/erc32sonic.c
    8177endif
    8278
     
    8682    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
    8783    ../../../libcpu/@RTEMS_CPU@/syscall.rel
    88 if HAS_NETWORKING
    89 libbsp_a_LIBADD += erc32sonic.rel
    90 endif
    9184
    9285EXTRA_DIST += times
  • c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c

    r1c64c688 rd8d6a08  
    2020 *  http://www.rtems.org/license/LICENSE.
    2121 */
     22
     23#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2224
    2325#include <bsp.h>
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r1c64c688 rd8d6a08  
    170170
    171171if HAS_NETWORKING
    172 noinst_PROGRAMS += leon_smc91111.rel
    173 leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
    174 leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
    175 leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    176 leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    177 endif
    178 
    179 if HAS_NETWORKING
    180 noinst_PROGRAMS += leon_open_eth.rel
    181 leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
    182 leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    183 leon_open_eth_rel_CPPFLAGS +=  -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    184 leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    185 endif
    186 
    187 if HAS_NETWORKING
    188 noinst_PROGRAMS += leon_greth.rel
    189 leon_greth_rel_SOURCES = ../../sparc/shared/net/greth.c
    190 leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    191 leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    192 leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    193 
    194 # BSP Network configuration
     172libbsp_a_SOURCES += leon_smc91111/leon_smc91111.c
     173libbsp_a_SOURCES += leon_open_eth/leon_open_eth.c
     174libbsp_a_SOURCES += ../../sparc/shared/net/greth.c
    195175libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
    196176endif
     
    202182    ../../../libcpu/@RTEMS_CPU@/syscall.rel
    203183
    204 if HAS_NETWORKING
    205 libbsp_a_LIBADD += leon_greth.rel
    206 libbsp_a_LIBADD += leon_open_eth.rel
    207 libbsp_a_LIBADD += leon_smc91111.rel
    208 endif
    209 
    210184EXTRA_DIST += times
    211185
  • c/src/lib/libbsp/sparc/leon2/leon_open_eth/leon_open_eth.c

    r1c64c688 rd8d6a08  
    1313 * http://www.rtems.org/license/LICENSE.
    1414 */
     15
     16#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1517
    1618#include <bsp.h>
  • c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c

    r1c64c688 rd8d6a08  
    1313 * http://www.rtems.org/license/LICENSE.
    1414 */
     15
     16#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1517
    1618#include <rtems.h>
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r1c64c688 rd8d6a08  
    190190
    191191if HAS_NETWORKING
    192 noinst_PROGRAMS += leon_smc91111.rel
    193 leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
    194 leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
    195 leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    196 leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    197 endif
    198 
    199 if HAS_NETWORKING
    200 noinst_PROGRAMS += leon_open_eth.rel
    201 leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
    202 leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    203 leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    204 leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    205 endif
    206 
    207 if HAS_NETWORKING
    208 noinst_PROGRAMS += leon_greth.rel
     192libbsp_a_SOURCES += leon_smc91111/leon_smc91111.c
     193libbsp_a_SOURCES += leon_open_eth/leon_open_eth.c
     194libbsp_a_SOURCES += ../../sparc/shared/net/greth.c
     195libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
    209196if !HAS_SMP
    210197libbsp_a_SOURCES += leon_greth/leon_greth.c
    211198endif
    212 leon_greth_rel_SOURCES = ../../sparc/shared/net/greth.c
    213 leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
    214 leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    215 leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    216 endif
    217 
    218 # BSP Network configuration
    219 if HAS_NETWORKING
    220 libbsp_a_SOURCES += ../../sparc/shared/net/network_interface_add.c
    221199endif
    222200
     
    233211    ../../../libcpu/@RTEMS_CPU@/syscall.rel
    234212
    235 if HAS_NETWORKING
    236 libbsp_a_LIBADD += leon_open_eth.rel
    237 libbsp_a_LIBADD += leon_greth.rel
    238 libbsp_a_LIBADD += leon_smc91111.rel
    239 endif
    240 
    241213EXTRA_DIST += times
    242214
  • c/src/lib/libbsp/sparc/leon3/leon_greth/leon_greth.c

    r1c64c688 rd8d6a08  
    1010 */
    1111
     12#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1213
    1314#include <bsp.h>
  • c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c

    r1c64c688 rd8d6a08  
    1414 */
    1515
     16#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1617
    1718#include <bsp.h>
  • c/src/lib/libbsp/sparc/leon3/leon_smc91111/leon_smc91111.c

    r1c64c688 rd8d6a08  
    1313 * http://www.rtems.org/license/LICENSE.
    1414 */
     15
     16#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1517
    1618#include <bsp.h>
  • c/src/lib/libbsp/sparc/shared/net/greth.c

    r1c64c688 rd8d6a08  
    1212 *  2007-09-07, Ported GBIT support from 4.6.5
    1313 */
     14
     15#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     16
    1417#include <rtems.h>
    1518#define _KERNEL
  • c/src/lib/libcpu/bfin/Makefile.am

    r1c64c688 rd8d6a08  
    8181if HAS_NETWORKING
    8282## network
    83 network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    8483noinst_PROGRAMS += network.rel
    8584network_rel_SOURCES = network/ethernet.c
    86 network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
     85network_rel_CPPFLAGS = $(AM_CPPFLAGS)
    8786network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    8887endif
  • c/src/lib/libcpu/bfin/network/ethernet.c

    r1c64c688 rd8d6a08  
    1010 *
    1111 */
     12
     13#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1214
    1315#include <rtems.h>
  • c/src/lib/libcpu/powerpc/Makefile.am

    r1c64c688 rd8d6a08  
    301301noinst_PROGRAMS += mpc83xx/tsec.rel
    302302mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c
    303 mpc83xx_tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    304303mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    305304endif
     
    389388noinst_PROGRAMS += tsec.rel
    390389tsec_rel_SOURCES = mpc83xx/network/tsec.c
    391 tsec_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    392390tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    393391endif
  • c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c

    r1c64c688 rd8d6a08  
    1717| this file contains the MPC83xx TSEC networking driver           |
    1818\*===============================================================*/
     19
     20#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1921
    2022#include <stdlib.h>
  • c/src/libchip/Makefile.am

    r1c64c688 rd8d6a08  
    2424noinst_LIBRARIES += libnetchip.a
    2525libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS)
    26 libnetchip_a_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    2726libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
    2827    network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
  • c/src/libchip/network/cs8900.c

    r1c64c688 rd8d6a08  
    2323
    2424*/
     25
     26#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2527
    2628#include <errno.h>
  • c/src/libchip/network/dec21140.c

    r1c64c688 rd8d6a08  
    3636 */
    3737
     38#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     39
    3840#include <rtems.h>
    3941#include <inttypes.h>
  • c/src/libchip/network/elnk.c

    r1c64c688 rd8d6a08  
    6262 * THE POSSIBILITY OF SUCH DAMAGE.
    6363 */
     64
     65#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    6466
    6567#include <rtems.h>
  • c/src/libchip/network/greth.c

    r1c64c688 rd8d6a08  
    99 * 2007-09-07, Ported GBIT support from 4.6.5
    1010 */
     11
     12#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    1113
    1214#include <rtems.h>
  • c/src/libchip/network/i82586.c

    r1c64c688 rd8d6a08  
    147147   the synchronization.
    148148*/
     149
     150#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    149151
    150152#include <rtems.h>
  • c/src/libchip/network/if_dc.c

    r1c64c688 rd8d6a08  
    9999 *  from being compiled on systems which can't support this driver.
    100100 */
     101
     102#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    101103
    102104#if defined(DRIVER_SUPPORTED)
  • c/src/libchip/network/if_fxp.c

    r1c64c688 rd8d6a08  
    5555 *     Original RTEMS modifications.
    5656 */
     57
     58#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    5759
    5860#if defined(__i386__)
  • c/src/libchip/network/open_eth.c

    r1c64c688 rd8d6a08  
    1919 *        that used by this driver.
    2020 */
     21
     22#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    2123
    2224#if defined(__i386__) || defined(__arm__) || defined(__PPC__)
  • c/src/libchip/network/smc91111.c

    r1c64c688 rd8d6a08  
     1#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
     2
    13#include <rtems.h>
    24#include <errno.h>
  • c/src/libchip/network/sonic.c

    r1c64c688 rd8d6a08  
    3131 *  interrupt-free transmission by Jiri, 22/03/1999.
    3232 */
     33
     34#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
    3335
    3436#include <rtems.h>
Note: See TracChangeset for help on using the changeset viewer.