-#
-# Copyright (C) 2006 OpenWrt.org
+#
+# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
-ARCH=i386
+ARCH:=i386
BOARD:=x86
BOARDNAME:=x86
-FEATURES:=squashfs jffs2 ext2
-
-LINUX_VERSION:=2.6.22.4
+FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia tgz
+SUBTARGETS=generic olpc xen_domu
-include $(INCLUDE_DIR)/kernel-build.mk
-DEFAULT_PACKAGES += kmod-natsemi kmod-ne2k-pci
+LINUX_VERSION:=2.6.31.12
-# include the profiles
--include profiles/*.mk
+include $(INCLUDE_DIR)/target.mk
-$(eval $(call BuildKernel))
+$(eval $(call BuildTarget))
+$(eval $(call $(if $(CONFIG_TARGET_ROOTFS_ISO),RequireCommand,Ignore),mkisofs, \
+ Please install mkisofs. \
+))