From: Michael Tremer Date: Tue, 28 Dec 2010 13:51:43 +0000 (+0100) Subject: Make custom configuration. X-Git-Tag: v1.0~3 X-Git-Url: http://git.ipfire.org/?p=oddments%2Fipfire-netboot.git;a=commitdiff_plain;h=cc25416a672736b5fda1fba44ce255f09d99783f Make custom configuration. --- 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 +