Makefile 671 B

12345678910111213141516171819202122232425262728293031
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2006-2011 OpenWrt.org
  4. include $(TOPDIR)/rules.mk
  5. ARCH:=i386
  6. BOARD:=x86
  7. BOARDNAME:=x86
  8. FEATURES:=squashfs ext4 vdi vmdk vhdx pcmcia targz fpu boot-part rootfs-part
  9. SUBTARGETS:=generic legacy geode 64
  10. KERNEL_PATCHVER:=6.12
  11. KERNELNAME:=bzImage
  12. include $(INCLUDE_DIR)/target.mk
  13. DEFAULT_PACKAGES += \
  14. partx-utils mkf2fs \
  15. e2fsprogs kmod-button-hotplug \
  16. grub2-bios-setup
  17. $(eval $(call BuildTarget))
  18. $(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
  19. Please install mkisofs. , \
  20. mkisofs -v 2>&1 , \
  21. genisoimage -v 2>&1 | grep genisoimage, \
  22. xorrisofs -v 2>&1 | grep xorriso \
  23. ))