From cc25416a672736b5fda1fba44ce255f09d99783f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 28 Dec 2010 14:51:43 +0100 Subject: [PATCH] Make custom configuration. --- Makefile | 6 ++++++ config/console.h | 3 +++ config/general.h | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 config/console.h create mode 100644 config/general.h diff --git a/Makefile b/Makefile index 06a2a63..1f09188 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,12 @@ clean: make -C gpxe/src clean $(TARGETS): + # Copy our configuration to the gPXE submodule + cp -vf config/* gpxe/src/config/local/ + + # Build the image make -C gpxe/src EMBEDDED_IMAGE=$(SCRIPTS) $@ + + # Copy the image to bin/ -mkdir -pv $$(dirname $@) cp -vf gpxe/src/$@ $@ diff --git a/config/console.h b/config/console.h new file mode 100644 index 0000000..c0de779 --- /dev/null +++ b/config/console.h @@ -0,0 +1,3 @@ + +// Disable serial console +#undef CONSOLE_SERIAL diff --git a/config/general.h b/config/general.h new file mode 100644 index 0000000..e60a0e2 --- /dev/null +++ b/config/general.h @@ -0,0 +1,16 @@ + +#undef PRODUCT_NAME +#define PRODUCT_NAME "IPFire Boot Server (boot.ipfire.org)" + +// Enable FTP protocol +#define DOWNLOAD_PROTO_FTP + +// Disable SAN stuff +#undef SANBOOT_CMD + +// Disable wireless stuff +#undef IWMGMT_CMD +#undef CRYPTO_80211_WEP +#undef CRYPTO_80211_WPA +#undef CRYPTO_80211_WPA2 + -- 2.39.2