* adds support for Artec Thincan

Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>

SVN-Revision: 26919
This commit is contained in:
John Crispin
2011-05-17 10:35:14 +00:00
parent 9abcc01305
commit dfc19a34b4
7 changed files with 120 additions and 1 deletions

View File

@@ -1,3 +1,18 @@
config X86_ETHERBOOT_IMAGES
bool "Build Etherboot image"
depends TARGET_x86 && TARGET_x86_thincan_DBE61
default y
help
Builds network bootable image for ThinCan DBE61 (Etherboot BIOS)
config X86_ETHERBOOT_BOOTOPTS
string "Extra kernel boot options"
depends X86_ETHERBOOT_IMAGES
default "ip=dhcp nbdport=2000 " if TARGET_ROOTFS_SQUASHFS
default "ip=dhcp root=/dev/nfs nfsroot=192.168.0.1:/srv/dbe61"
help
Kernel arguments to pass to the kernel eg. NFS root location etc.
config X86_GRUB_IMAGES
bool "Build GRUB images (Linux x86 or x86_64 host only)"
depends TARGET_x86 && !TARGET_x86_olpc

View File

@@ -166,6 +166,13 @@ endif
define Image/BuildKernel
$(CP) $(KDIR)/bzImage $(BIN_DIR)/$(IMG_PREFIX)-vmlinuz
ifneq ($(CONFIG_X86_ETHERBOOT_IMAGES),)
rm -f $(BIN_DIR)/$(IMG_PREFIX)-etherboot
$(STAGING_DIR_HOST)/bin/mkelfImage \
--append=$(CONFIG_X86_ETHERBOOT_BOOTOPTS) \
$(KDIR)/bzImage \
$(BIN_DIR)/$(IMG_PREFIX)-etherboot
endif
endef
define Image/Prepare