iPXE
|
Configuration options. More...
#include <config/general.h>
#include <config/console.h>
#include <config/sideband.h>
#include <config/settings.h>
Go to the source code of this file.
Macros | |
#define | REQUIRE_KEYMAP_OBJECT(_map) REQUIRE_OBJECT ( keymap_ ## _map ) |
#define | REQUIRE_KEYMAP(_map) REQUIRE_KEYMAP_OBJECT ( _map ) |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
PROVIDE_REQUIRING_SYMBOL () | |
REQUIRE_OBJECT (device) | |
REQUIRE_OBJECT (embedded) | |
REQUIRE_KEYMAP (KEYBOARD_MAP) | |
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 iPXE 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 iPXE executable built.
Definition in file config.c.
#define REQUIRE_KEYMAP_OBJECT | ( | _map | ) | REQUIRE_OBJECT ( keymap_ ## _map ) |
#define REQUIRE_KEYMAP | ( | _map | ) | REQUIRE_KEYMAP_OBJECT ( _map ) |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
PROVIDE_REQUIRING_SYMBOL | ( | ) |
REQUIRE_OBJECT | ( | device | ) |
REQUIRE_OBJECT | ( | embedded | ) |
REQUIRE_KEYMAP | ( | KEYBOARD_MAP | ) |