2009-05-03 19:58:06 +03:00
|
|
|
#
|
2010-05-02 19:33:34 +03:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-07-20 21:42:12 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
2007-02-28 20:25:14 +02:00
|
|
|
include $(INCLUDE_DIR)/host.mk
|
2006-07-20 21:42:12 +03:00
|
|
|
|
2007-02-28 20:25:14 +02:00
|
|
|
# UML only makes sense on linux
|
|
|
|
ifeq ($(HOST_OS),Linux)
|
|
|
|
|
|
|
|
ARCH:=$(shell uname -m | sed \
|
|
|
|
-e 's/i[3-9]86/i386/' \
|
|
|
|
-e 's/mipsel/mips/' \
|
|
|
|
-e 's/mipseb/mips/' \
|
|
|
|
-e 's/powerpc/ppc/' \
|
|
|
|
-e 's/sh[234]/sh/' \
|
|
|
|
-e 's/armeb/arm/' \
|
|
|
|
)
|
2006-11-12 01:11:02 +02:00
|
|
|
BOARD:=uml
|
|
|
|
BOARDNAME:=User Mode Linux
|
2010-02-15 22:03:18 +02:00
|
|
|
FEATURES:=ext2 audio
|
2007-02-28 20:25:14 +02:00
|
|
|
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
|
2006-11-12 01:11:02 +02:00
|
|
|
|
2010-05-23 16:16:51 +03:00
|
|
|
LINUX_VERSION:=2.6.32.13
|
2007-06-28 08:52:00 +03:00
|
|
|
|
2007-09-08 22:55:42 +03:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2007-03-03 03:22:09 +02:00
|
|
|
|
2010-01-23 19:21:18 +02:00
|
|
|
DEFAULT_PACKAGES += wpad-mini kmod-mac80211-hwsim
|
2009-01-12 11:57:02 +02:00
|
|
|
|
2007-02-28 20:25:14 +02:00
|
|
|
endif
|
|
|
|
|
2007-09-08 22:55:42 +03:00
|
|
|
$(eval $(call BuildTarget))
|