summaryrefslogtreecommitdiffstats
path: root/src/config/config_linux.c
diff options
context:
space:
mode:
authorMichael Brown2015-10-16 17:14:29 +0200
committerMichael Brown2015-10-16 17:38:39 +0200
commit4b7443d132d4d889618588d78ed111099f16c6f9 (patch)
tree3dcb7c124669dac9582692ec9ac8534235b3424c /src/config/config_linux.c
parent[console] Tidy up config/console.h (diff)
downloadipxe-4b7443d132d4d889618588d78ed111099f16c6f9.tar.gz
ipxe-4b7443d132d4d889618588d78ed111099f16c6f9.tar.xz
ipxe-4b7443d132d4d889618588d78ed111099f16c6f9.zip
[build] Generalise CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER
The name "vesafb" is intrinsically specific to a BIOS environment. Generalise the build configuration option CONSOLE_VESAFB to CONSOLE_FRAMEBUFFER, in preparation for adding EFI framebuffer support. Existing configurations using CONSOLE_VESAFB will continue to work. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_linux.c')
-rw-r--r--src/config/config_linux.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/config/config_linux.c b/src/config/config_linux.c
new file mode 100644
index 00000000..71eeff9e
--- /dev/null
+++ b/src/config/config_linux.c
@@ -0,0 +1,41 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ *
+ * You can also choose to distribute this program under the terms of
+ * the Unmodified Binary Distribution Licence (as given in the file
+ * COPYING.UBDL), provided that you have satisfied its requirements.
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+
+#include <config/console.h>
+
+/** @file
+ *
+ * Linux-specific configuration options
+ *
+ */
+
+PROVIDE_REQUIRING_SYMBOL();
+
+/*
+ * Drag in all requested console types
+ *
+ */
+
+#ifdef CONSOLE_LINUX
+REQUIRE_OBJECT ( linux_console );
+#endif