aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-05-17 10:35:14 +0000
committerJohn Crispin <blogic@openwrt.org>2011-05-17 10:35:14 +0000
commitf7044753af081e72f3de25ad6ae6ccca59934c34 (patch)
treeab7b83e6fdf7bab7752d70484b9c6b1f6400746b /target/linux/x86/image/Makefile
parentd5449e1acce9c787f49f5a93837be6584a2ffcc5 (diff)
downloadmaster-187ad058-f7044753af081e72f3de25ad6ae6ccca59934c34.tar.gz
master-187ad058-f7044753af081e72f3de25ad6ae6ccca59934c34.tar.bz2
master-187ad058-f7044753af081e72f3de25ad6ae6ccca59934c34.zip
[x86]
* adds support for Artec Thincan Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26919 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/image/Makefile')
-rw-r--r--target/linux/x86/image/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index 12ffe18553..c070a10319 100644
--- a/target/linux/x86/image/Makefile
+++ b/target/linux/x86/image/Makefile
@@ -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