Index: target/linux/x86-2.6/image/files/openwrt.vmx =================================================================== Index: target/linux/x86-2.6/image/Makefile =================================================================== --- target/linux/x86-2.6/image/Makefile (Revision 6227) +++ target/linux/x86-2.6/image/Makefile (Arbeitskopie) @@ -44,6 +44,9 @@ -e 's#@BAUDRATE@#$(CONFIG_X86_GRUB_BAUDRATE)#g' \ ./grub/menu.lst > $(KDIR)/root.grub/boot/grub/menu.lst PATH="$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/bin:$(PATH)" ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).image $(CONFIG_X86_GRUB_KERNELPART) $(KDIR)/root.grub $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1) + + # copy VMX configuration file to $(BIN_DIR) + $(CP) ./files/openwrt.vmx $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).vmx endef endif @@ -62,6 +65,11 @@ $(call Image/Build/grub,$(1)) cp $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).fs cp $(KDIR)/bzImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinuz + + # create .vmdk image for vmware + # check if qemu-img exists???? + qemu-img convert -f raw $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).image \ + -O vmdk $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).vmdk endef $(eval $(call BuildImage)) Index: target/linux/x86-2.6/config =================================================================== --- target/linux/x86-2.6/config (Revision 6229) +++ target/linux/x86-2.6/config (Arbeitskopie) @@ -322,7 +322,9 @@ # CONFIG_DUMMY is not set # CONFIG_DVB is not set CONFIG_E100=m -# CONFIG_E1000 is not set +CONFIG_E1000=m +CONFIG_E1000_NAPI=y +# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set CONFIG_EARLY_PRINTK=y # CONFIG_ECONET is not set # CONFIG_EDAC is not set Index: target/linux/x86-2.6/Makefile =================================================================== --- target/linux/x86-2.6/Makefile (Revision 6227) +++ target/linux/x86-2.6/Makefile (Arbeitskopie) @@ -11,8 +11,32 @@ BOARDNAME:=x86 FEATURES:=jffs2 ext2 +define Target/Description + Build images for X86 architecture. + E. g. for Soekris net4801 or VMware image +endef + include $(INCLUDE_DIR)/kernel-build.mk -DEFAULT_PACKAGES += kmod-natsemi +DEFAULT_PACKAGES:=$(filter-out mtd,$(DEFAULT_PACKAGES)) +define Profile/net4801 + NAME:=Soekris net4801 and compatible routers + PACKAGES:=kmod-natsemi +endef + +define Profile/net4801/Description + blabla +endef +$(eval $(call Profile,net4801)) + +define Profile/vmware + NAME:=VMware (.vmdk and .vmx files) + PACKAGES:=kmod-e1000 +endef + +define Profile/vmware/Description + blabla +endef +$(eval $(call Profile,vmware)) + $(eval $(call BuildKernel)) -