2021-02-10 21:52:34 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-05-04 00:58:06 +08:00
|
|
|
#
|
2011-03-18 21:25:32 +08:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2021-02-10 21:52:34 +08:00
|
|
|
|
2006-07-21 02:42:12 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
2007-03-01 02:25:14 +08:00
|
|
|
# UML only makes sense on linux
|
|
|
|
|
ifeq ($(HOST_OS),Linux)
|
|
|
|
|
|
|
|
|
|
ARCH:=$(shell uname -m | sed \
|
|
|
|
|
-e 's/i[3-9]86/i386/' \
|
|
|
|
|
-e 's/mipsel/mips/' \
|
|
|
|
|
-e 's/mipseb/mips/' \
|
|
|
|
|
-e 's/powerpc/ppc/' \
|
|
|
|
|
-e 's/sh[234]/sh/' \
|
|
|
|
|
-e 's/armeb/arm/' \
|
|
|
|
|
)
|
2006-11-12 07:11:02 +08:00
|
|
|
BOARD:=uml
|
|
|
|
|
BOARDNAME:=User Mode Linux
|
2017-01-24 19:44:59 +08:00
|
|
|
FEATURES:=squashfs ext4 audio source-only
|
2006-11-12 07:11:02 +08:00
|
|
|
|
2020-08-20 23:14:36 +08:00
|
|
|
KERNEL_PATCHVER:=5.4
|
2007-06-28 13:52:00 +08:00
|
|
|
|
2007-09-09 03:55:42 +08:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2007-03-03 09:22:09 +08:00
|
|
|
|
2011-04-18 05:47:49 +08:00
|
|
|
LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH)
|
|
|
|
|
|
2020-07-27 18:30:41 +08:00
|
|
|
DEFAULT_PACKAGES += wpad-basic-wolfssl kmod-mac80211-hwsim mkf2fs e2fsprogs
|
2009-01-12 17:57:02 +08:00
|
|
|
|
2007-03-01 02:25:14 +08:00
|
|
|
endif
|
|
|
|
|
|
2007-09-09 03:55:42 +08:00
|
|
|
$(eval $(call BuildTarget))
|