forked from Openwrt/openwrt
refresh config + patches. This includes the following changes: - The selected x86_64 CPU is switched to generic instead of K8. A backported patch is included from 6.13. 000-v6.13-asm-generic-io.h-rework-split-ioread64-iowrite64-hel.patch |fixed the following build error: | CC lib/iomap.o |lib/iomap.c:156:5: error: no previous prototype for 'ioread64_lo_hi' [-Werror=missing-prototypes] | 156 | u64 ioread64_lo_hi(const void __iomem *addr) | | ^~~~~~~~~~~~~~ | [...] Note: 102-pseudo-random-mac.patch will likely go away with the next stable. UML is switching to a new networking infrastructure. The previous implementation using tuntap, daemon, socket, ethertap, vde are being replaced by "vector" transports tap, hybrid, raw, EoGRE, Eol2tpv3, fd, vde (vector!). Please see, to checkout what will change: <https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
28 lines
515 B
Makefile
28 lines
515 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2006-2021 OpenWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
# UML only makes sense on linux
|
|
ifeq ($(HOST_OS),Linux)
|
|
ifeq ($(HOST_ARCH),x86_64)
|
|
|
|
ARCH:=x86_64
|
|
BOARD:=uml
|
|
BOARDNAME:=User Mode Linux
|
|
FEATURES:=audio ext4 rootfs-part squashfs
|
|
SUBTARGETS:=generic
|
|
|
|
KERNEL_PATCHVER:=6.6
|
|
KERNEL_TESTING_PATCHVER:=6.12
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += wpad-basic-mbedtls kmod-mac80211-hwsim mkf2fs e2fsprogs
|
|
|
|
endif
|
|
endif
|
|
|
|
$(eval $(call BuildTarget))
|