summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300
diff options
context:
space:
mode:
authorYacine Belkadi2011-10-03 18:28:39 +0200
committerYacine Belkadi2011-11-02 14:55:29 +0100
commitd3c9e20681e55af63291929203d6f9052a06cf8c (patch)
tree33bb3691e0b04b08f829cf2107548851977bc5c2 /cleopatre/linux-2.6.25.10-spc300
parent58c264eae11c14c37498f1e6a984b42bb7ee75ad (diff)
cleo/buildroot: support setting plc mem size value from buildroot, closes #583
Diffstat (limited to 'cleopatre/linux-2.6.25.10-spc300')
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/arch/arm/boot/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/arch/arm/boot/Makefile b/cleopatre/linux-2.6.25.10-spc300/arch/arm/boot/Makefile
index 5c12339b9a..5647f5128f 100644
--- a/cleopatre/linux-2.6.25.10-spc300/arch/arm/boot/Makefile
+++ b/cleopatre/linux-2.6.25.10-spc300/arch/arm/boot/Makefile
@@ -70,10 +70,11 @@ $(obj)/uImage: $(obj)/zImage FORCE
@echo ' Image $@ is ready'
quiet_cmd_simage = SIMAGE $@
-cmd_simage = $(MKSIMAGE) --desc "SPC300 image" \
+cmd_simage = echo "$(PLC_MEM_SIZE_MB)" ; $(MKSIMAGE) --desc "SPC300 image" \
--ver "$(if $(IMG_VERSION),$(IMG_VERSION),$(shell date +%F\ %R))" \
--size "$(shell du -sb $< | awk '{ print $$1 }')" \
- --md5 "$(shell md5sum $< | awk '{ print $$1 }')" > $@ ; \
+ --md5 "$(shell md5sum $< | awk '{ print $$1 }')" \
+ --plc-ram "$(PLC_MEM_SIZE_MB)" > $@ ; \
cat $< >> $@
$(obj)/sImage: $(obj)/zImage FORCE