config.c File Reference

Configuration options. More...

#include <config/general.h>
#include <config/console.h>

Go to the source code of this file.

Defines

#define XSTR(s)   STR(s)
#define STR(s)   #s
#define BUILD_SERIAL_STR   ""
#define BUILD_ID_STR   ""
#define BUILD_STRING   ""

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 REQUIRE_OBJECT (ipv4)
 REQUIRE_OBJECT (tftp)
 REQUIRE_OBJECT (http)
 REQUIRE_OBJECT (dns)
 REQUIRE_OBJECT (autoboot_cmd)
 REQUIRE_OBJECT (nvo_cmd)
 REQUIRE_OBJECT (config_cmd)
 REQUIRE_OBJECT (ifmgmt_cmd)
 REQUIRE_OBJECT (route_cmd)
 REQUIRE_OBJECT (image_cmd)
 REQUIRE_OBJECT (dhcp_cmd)
 REQUIRE_OBJECT (sanboot_cmd)
 REQUIRE_OBJECT (login_cmd)
 REQUIRE_OBJECT (device)
 REQUIRE_OBJECT (embedded)


Detailed Description

Configuration options.

This file contains macros that pull various objects into the link based on definitions in configuration header files. Ideally it should be the only place in gPXE where one might need to use ifdef for compile-time options.

In the fairly common case where an object should only be considered for inclusion if the subsystem it depends on is present, its configuration macros should be placed in a file named config_subsystem.c, where subsystem is the object basename of the main source file for that subsystem. The build system will pull in that file if subsystem.c is included in the final gPXE executable built.

Definition in file config.c.


Define Documentation

#define XSTR (  )     STR(s)

Definition at line 37 of file config.c.

#define STR (  )     #s

Definition at line 38 of file config.c.

#define BUILD_SERIAL_STR   ""

Definition at line 44 of file config.c.

#define BUILD_ID_STR   ""

Definition at line 50 of file config.c.

#define BUILD_STRING   ""

Definition at line 56 of file config.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

REQUIRE_OBJECT ( ipv4   ) 

REQUIRE_OBJECT ( tftp   ) 

REQUIRE_OBJECT ( http   ) 

REQUIRE_OBJECT ( dns   ) 

REQUIRE_OBJECT ( autoboot_cmd   ) 

REQUIRE_OBJECT ( nvo_cmd   ) 

REQUIRE_OBJECT ( config_cmd   ) 

REQUIRE_OBJECT ( ifmgmt_cmd   ) 

REQUIRE_OBJECT ( route_cmd   ) 

REQUIRE_OBJECT ( image_cmd   ) 

REQUIRE_OBJECT ( dhcp_cmd   ) 

REQUIRE_OBJECT ( sanboot_cmd   ) 

REQUIRE_OBJECT ( login_cmd   ) 

REQUIRE_OBJECT ( device   ) 

REQUIRE_OBJECT ( embedded   ) 


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1