Changeset 0d436c7 in rtems-libbsd


Ignore:
Timestamp:
Mar 8, 2012, 10:54:51 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5283630d2c9d40deb0183696d278e02644fe4326, freebsd-9.3, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
1a63f04
Parents:
b55081a
Message:

netipsec/ipsec.c was in header file list not C file list

+ Makefile: It was not listed since it was a header
+ freebsd/netipsec/ipsec.c: include transformation did not occur
+ freebsd-to-rtems.py: Moved ipsec.c to source.

Added checks to ensure that only .h files are in header list
and that only .c files are in source list.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb55081a r0d436c7  
    170170        freebsd/netinet6/sctp6_usrreq.c \
    171171        freebsd/netinet6/udp6_usrreq.c \
     172        freebsd/netipsec/ipsec.c \
    172173        freebsd/netipsec/ipsec_input.c \
    173174        freebsd/netipsec/ipsec_mbuf.c \
  • freebsd-to-rtems.py

    rb55081a r0d436c7  
    395395        def addHeaderFiles(self, files):
    396396                self.headerFiles.extend(files)
     397                for file in files:
     398                        if file[-2] != '.' or file[-1] != 'h':
     399                                print "*** " + file + " does not end in .h"
     400                                print "*** Move it to a C source file list"
     401                                sys.exit(2)
    397402
    398403        def addSourceFiles(self, files):
    399404                self.sourceFiles.extend(files)
     405                for file in files:
     406                        if file[-2] != '.' or file[-1] != 'c':
     407                                print "*** " + file + " does not end in .c"
     408                                print "*** Move it to a header file list"
     409                                sys.exit(2)
     410
    400411
    401412        def addDependency(self, dep):
     
    14211432                'netipsec/ipip_var.h',
    14221433                'netipsec/ipsec6.h',
    1423                 'netipsec/ipsec.c',
    14241434                'netipsec/ipsec.h',
    14251435                'netipsec/keydb.h',
     
    14331443netipsec.addSourceFiles(
    14341444        [
     1445                'netipsec/ipsec.c',
    14351446                'netipsec/ipsec_input.c',
    14361447                'netipsec/ipsec_mbuf.c',
  • freebsd/netipsec/ipsec.c

    rb55081a r0d436c7  
     1#include <freebsd/machine/rtems-bsd-config.h>
     2
    13/*      $FreeBSD$       */
    24/*      $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
Note: See TracChangeset for help on using the changeset viewer.