target: use SPDX license identifiers on Makefiles
[openwrt/staging/wigyori.git] / target / linux / uml / 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 # UML only makes sense on linux
8 ifeq ($(HOST_OS),Linux)
9
10 ARCH:=$(shell uname -m | sed \
11 -e 's/i[3-9]86/i386/' \
12 -e 's/mipsel/mips/' \
13 -e 's/mipseb/mips/' \
14 -e 's/powerpc/ppc/' \
15 -e 's/sh[234]/sh/' \
16 -e 's/armeb/arm/' \
17 )
18 BOARD:=uml
19 BOARDNAME:=User Mode Linux
20 FEATURES:=squashfs ext4 audio source-only
21
22 KERNEL_PATCHVER:=5.4
23
24 include $(INCLUDE_DIR)/target.mk
25
26 LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH)
27
28 DEFAULT_PACKAGES += wpad-basic-wolfssl kmod-mac80211-hwsim mkf2fs e2fsprogs
29
30 endif
31
32 $(eval $(call BuildTarget))