Defines | Functions
config.c File Reference

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.


#define REQUIRE_KEYMAP_OBJECT(_map)   REQUIRE_OBJECT ( keymap_ ## _map )


 REQUIRE_OBJECT (embedded)
 REQUIRE_OBJECT (pci_settings)

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 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 Documentation

#define REQUIRE_KEYMAP_OBJECT (   _map)    REQUIRE_OBJECT ( keymap_ ## _map )

Definition at line 350 of file config.c.

#define REQUIRE_KEYMAP (   _map)    REQUIRE_KEYMAP_OBJECT ( _map )

Definition at line 351 of file config.c.

Function Documentation

REQUIRE_OBJECT ( embedded  )