x86: remove the ep80579 subtarget, it has been unmaintained for a long time
[openwrt/openwrt.git] / target / linux / uml / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/host.mk
9
10 # UML only makes sense on linux
11 ifeq ($(HOST_OS),Linux)
12
13 ARCH:=$(shell uname -m | sed \
14 -e 's/i[3-9]86/i386/' \
15 -e 's/mipsel/mips/' \
16 -e 's/mipseb/mips/' \
17 -e 's/powerpc/ppc/' \
18 -e 's/sh[234]/sh/' \
19 -e 's/armeb/arm/' \
20 )
21 BOARD:=uml
22 BOARDNAME:=User Mode Linux
23 FEATURES:=ext4 audio
24 MAINTAINER:=Florian Fainelli <florian@openwrt.org>
25
26 KERNEL_PATCHVER:=4.4
27
28 include $(INCLUDE_DIR)/target.mk
29
30 define Kernel/Patch
31 mkdir -p $(LINUX_DIR)/arch/um/include/uapi
32 mv $(LINUX_DIR)/arch/um/include/asm $(LINUX_DIR)/arch/um/include/uapi/
33 $(Kernel/Patch/Default)
34 endef
35
36 LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH)
37
38 DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim
39
40 endif
41
42 $(eval $(call BuildTarget))