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
9 # UML only makes sense on linux
10 ifeq ($(HOST_OS
),Linux
)
12 ARCH
:=$(shell uname
-m | sed \
13 -e
's/i[3-9]86/i386/' \
21 BOARDNAME
:=User Mode Linux
22 FEATURES
:=squashfs ext4 audio source-only
23 MAINTAINER
:=Florian Fainelli
<florian@openwrt.org
>
27 include $(INCLUDE_DIR
)/target.mk
30 mkdir
-p
$(LINUX_DIR
)/arch
/um
/include/uapi
31 mv
$(LINUX_DIR
)/arch
/um
/include/asm
$(LINUX_DIR
)/arch
/um
/include/uapi
/
32 $(Kernel
/Patch
/Default
)
35 LINUX_TARGET_CONFIG
:=$(CURDIR
)/config
/$(ARCH
)
37 DEFAULT_PACKAGES
+= wpad-mini kmod-mac80211-hwsim mkf2fs e2fsprogs
41 $(eval
$(call BuildTarget
))