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# 7include $(TOPDIR)/rules.mk 8include $(INCLUDE_DIR)/host.mk 9 10# UML only makes sense on linux 11ifeq ($(HOST_OS),Linux) 12 13ARCH:=$(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) 21BOARD:=uml 22BOARDNAME:=User Mode Linux 23FEATURES:=ext4 audio 24MAINTAINER:=Florian Fainelli <florian@openwrt.org> 25 26LINUX_VERSION:=3.3.8 27 28include $(INCLUDE_DIR)/target.mk 29 30LINUX_TARGET_CONFIG:=$(CURDIR)/config/$(ARCH) 31 32DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim 33 34endif 35 36$(eval $(call BuildTarget)) 37