2006-07-20 18:42:12 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
2007-02-28 18:25:14 +00:00
|
|
|
include $(INCLUDE_DIR)/host.mk
|
2006-07-20 18:42:12 +00:00
|
|
|
|
2007-02-28 18:25:14 +00: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-11 23:11:02 +00:00
|
|
|
BOARD:=uml
|
|
|
|
BOARDNAME:=User Mode Linux
|
2008-08-06 09:31:18 +00:00
|
|
|
FEATURES:=ext2
|
2007-02-28 18:25:14 +00:00
|
|
|
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
|
2006-11-11 23:11:02 +00:00
|
|
|
|
2009-02-17 02:05:42 +00:00
|
|
|
LINUX_VERSION:=2.6.28.5
|
2007-06-28 05:52:00 +00:00
|
|
|
|
2007-09-08 19:55:42 +00:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2007-03-03 01:22:09 +00:00
|
|
|
|
2009-01-12 09:57:02 +00:00
|
|
|
DEFAULT_PACKAGES += hostapd-mini kmod-mac80211-hwsim
|
|
|
|
|
2007-02-28 18:25:14 +00:00
|
|
|
endif
|
|
|
|
|
2007-09-08 19:55:42 +00:00
|
|
|
$(eval $(call BuildTarget))
|