source: rtems-libbsd/dhcpcd/config.h @ 338f300

5-freebsd-12
Last change on this file since 338f300 was 338f300, checked in by Christian Mauderer <christian.mauderer@…>, on Apr 25, 2018 at 2:28:00 PM

buildset: Add minimal and everything config.

This adds two new buildset configurations: One that leaves out as much
features as possible and one that enables all features. For the default
configuration WiFi? support is now disabled.

To disable IPv6 for the minimal configuration, all -DINET6 are
eliminated in libbsd.py. They are now replaced by a #ifdef that checks
for RTEMS_BSD_MODULE_NETINET6 instead.

Close #3351.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[ec37843]1#ifndef DHCPCD_CONFIG_H
2#define DHCPCD_CONFIG_H
3/* RTEMS */
4#define PLATFORM_BSD
5#define SYSCONFDIR      "/etc"
6#define SBINDIR         "/sbin"
7#define LIBDIR          "/lib"
8#define LIBEXECDIR      "/libexec"
9#define DBDIR           "/var/db"
10#define RUNDIR          "/var/run"
[2017a6d]11#include <sys/time.h>
[ec37843]12#include <machine/rtems-bsd-program.h>
13#include <machine/rtems-bsd-commands.h>
14#include <spawn.h>
15#include <stdint.h>
16#include "compat/pollts.h"
[338f300]17#include <rtems/bsd/local/opt_inet6.h>
[ec37843]18uint32_t arc4random(void);
19static inline int dhcpcd_flock(int a, int b) { return -1; }
20#define flock(a, b) dhcpcd_flock(a, b)
21#define getline __getline
22#define closefrom(x) do { } while (0)
23#define _PATH_BPF "/dev/bpf"
24#ifdef __need_getopt_newlib
25#define optind dhcpcd_getopt_data.optind
26#define optarg dhcpcd_getopt_data.optarg
27#define opterr dhcpcd_getopt_data.opterr
28#define optopt dhcpcd_getopt_data.optopt
29#define getopt_long(argc, argv, so, lo, li) getopt_long_r(argc, argv, so, lo, li, &dhcpcd_getopt_data)
30extern struct getopt_data dhcpcd_getopt_data;
31#endif /* __need_getopt_newlib */
32#include "namespace.h"
33#endif /* DHCPCD_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.