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