summaryrefslogtreecommitdiff
path: root/polux/linux-2.6.10/arch/arm/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'polux/linux-2.6.10/arch/arm/boot/Makefile')
-rw-r--r--polux/linux-2.6.10/arch/arm/boot/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/polux/linux-2.6.10/arch/arm/boot/Makefile b/polux/linux-2.6.10/arch/arm/boot/Makefile
index e5f2dc00d7..09aada6d8b 100644
--- a/polux/linux-2.6.10/arch/arm/boot/Makefile
+++ b/polux/linux-2.6.10/arch/arm/boot/Makefile
@@ -9,6 +9,7 @@
#
MKIMAGE := $(srctree)/scripts/mkuboot.sh
+MKSIMAGE := $(srctree)/scripts/mksimage/mksimage
ifneq ($(MACHINE),)
include $(srctree)/$(MACHINE)/Makefile.boot
@@ -65,6 +66,19 @@ $(obj)/uImage: $(obj)/zImage FORCE
$(call if_changed,uimage)
@echo ' Image $@ is ready'
+quiet_cmd_simage = SIMAGE $@
+cmd_simage = $(MKSIMAGE) --desc "MSE500-200 image" \
+ --ver "$(if $(IMG_VERSION),$(IMG_VERSION),$(shell date +%F\ %R))" \
+ --size "$(shell du -sb $< | awk '{ print $$1 }')" \
+ --md5 "$(shell md5sum $< | awk '{ print $$1 }')" \
+ --plc-ram "0" > $@ ; \
+ cat $< >> $@
+
+$(obj)/sImage: $(obj)/zImage FORCE
+ # Prepend SPiDCOM image desc to zImage
+ $(call if_changed,simage)
+ @echo ' Image $@ is ready'
+
$(obj)/bootp/bootp: $(obj)/zImage initrd FORCE
$(Q)$(MAKE) $(build)=$(obj)/bootp $@
@: