aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-05-17 10:35:14 +0000
committerJohn Crispin <john@openwrt.org>2011-05-17 10:35:14 +0000
commitdfc19a34b4ac9f5ad1aec67a2353895c8ef1ecd5 (patch)
tree6c247105cbc29fd73f0146028301e88fb0e608f0 /target/linux/x86/image/Makefile
parent9abcc013059c05da2f8ce918981f24bb92ea8014 (diff)
downloadupstream-dfc19a34b4ac9f5ad1aec67a2353895c8ef1ecd5.tar.gz
upstream-dfc19a34b4ac9f5ad1aec67a2353895c8ef1ecd5.tar.bz2
upstream-dfc19a34b4ac9f5ad1aec67a2353895c8ef1ecd5.zip
* adds support for Artec Thincan
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com> SVN-Revision: 26919
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