浏览代码

Enable EFI build of netboot.xyz

Antony Messerli 8 年之前
父节点
当前提交
639906ed53
共有 2 个文件被更改,包括 13 次插入8 次删除
  1. 6 0
      ipxe/local/general.h.efi
  2. 7 8
      script/prep-release.sh

+ 6 - 0
ipxe/local/general.h.efi

@@ -0,0 +1,6 @@
+#define DIGEST_CMD            /* Image crypto digest commands */
+#define DOWNLOAD_PROTO_HTTPS  /* Secure Hypertext Transfer Protocol */      
+#define IMAGE_TRUST_CMD	      /* Image trust management commands */
+#define NET_PROTO_IPV6        /* IPv6 protocol */
+#define REBOOT_CMD            /* Reboot command */
+#define VLAN_CMD              /* VLAN commands */

+ 7 - 8
script/prep-release.sh

@@ -54,14 +54,13 @@ do
 done
 done
 
 
 # generate EFI iPXE disks
 # generate EFI iPXE disks
-#for ipxe_config in `ls ../../ipxe/disks/`
-#do
-#  # Remove general.h options for testing, doesn't like COMBOOT
-#  rm config/local/general.h
-#  make bin-x86_64-efi/ipxe.efi EMBED=../../ipxe/disks/$ipxe_config
-#  error_check
-#  mv bin-x86_64-efi/ipxe.efi ../../build/ipxe/$ipxe_config.efi
-#done
+for ipxe_config in `ls ../../ipxe/disks/`
+do
+  cp config/local/general.h.efi config/local/general.h
+  make bin-x86_64-efi/ipxe.efi EMBED=../../ipxe/disks/$ipxe_config
+  error_check
+  mv bin-x86_64-efi/ipxe.efi ../../build/ipxe/$ipxe_config.efi
+done
 
 
 # return to root
 # return to root
 cd ../..
 cd ../..