2b314aa4bb08c05f31249b85bd52c1be7e0c2892
[openwrt/openwrt.git] / target / linux / uml / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2006-2021 OpenWrt.org
4
5 include $(TOPDIR)/rules.mk
6
7 # UML only makes sense on linux
8 ifeq ($(HOST_OS),Linux)
9 ifeq ($(HOST_ARCH),x86_64)
10
11 ARCH:=x86_64
12 BOARD:=uml
13 BOARDNAME:=User Mode Linux
14 FEATURES:=audio ext4 rootfs-part squashfs
15
16 KERNEL_PATCHVER:=5.15
17
18 include $(INCLUDE_DIR)/target.mk
19
20 DEFAULT_PACKAGES += wpad-basic-mbedtls kmod-mac80211-hwsim mkf2fs e2fsprogs
21
22 endif
23 endif
24
25 $(eval $(call BuildTarget))