2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
8 include $(INCLUDE_DIR
)/host.mk
10 # UML only makes sense on linux
11 ifeq ($(HOST_OS
),Linux
)
13 ARCH
:=$(shell uname
-m | sed \
14 -e
's/i[3-9]86/i386/' \
22 BOARDNAME
:=User Mode Linux
24 MAINTAINER
:=Florian Fainelli
<florian@openwrt.org
>
28 include $(INCLUDE_DIR
)/target.mk
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
)
36 LINUX_TARGET_CONFIG
:=$(CURDIR
)/config
/$(ARCH
)
38 DEFAULT_PACKAGES
+= wpad-mini kmod-mac80211-hwsim
42 $(eval
$(call BuildTarget
))