summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:10:38 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:10:38 -0400
commit81268d33a56c95818a348b01390db47d99a85361 (patch)
tree693005a1b13d378b26a1ce161053e2724fc4249b
parent3456a4958ec2ecb2b2e35b1f37039fb28274f182 (diff)
Make sure Freescale utilities are chmod +x before trying to execute them2009.03-mpc5125_twr-201009011610
-rw-r--r--Makefile3
-rw-r--r--nand_spl/board/ads5125/Makefile1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c13428f4e9b..6e48f5c1ee3 100644
--- a/Makefile
+++ b/Makefile
@@ -340,11 +340,14 @@ $(obj)u-boot.sha1: $(obj)u-boot.bin
$(obj)tools/ubsha1 $(obj)u-boot.bin
$(obj)u-boot-second.bin:$(obj)u-boot.bin
+ chmod +x $(PWD)/add-uboot-head
$(PWD)/add-uboot-head $< $@
$(obj)u-boot-second-scrip.txt:$(obj)u-boot-second.bin
+ chmod +x $(PWD)/nand_program_block1_uboot
$(PWD)/nand_program_block1_uboot $< $@
$(obj)u-boot-scrip.txt:$(obj)u-boot.bin
+ chmod +x $(PWD)/nand_flash_program
$(PWD)/nand_flash_program $< $@
$(obj)u-boot.dis: $(obj)u-boot
diff --git a/nand_spl/board/ads5125/Makefile b/nand_spl/board/ads5125/Makefile
index 7e349665fca..d797f5ffa43 100644
--- a/nand_spl/board/ads5125/Makefile
+++ b/nand_spl/board/ads5125/Makefile
@@ -54,6 +54,7 @@ $(nandobj)u-boot-spl.bin: $(nandobj)u-boot-spl
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
$(nandobj)loader-script-5125.txt:$(nandobj)u-boot-spl-2k.bin
+ chmod +x $(TOPDIR)/nand_load_program
$(TOPDIR)/nand_load_program $< $@
$(nandobj)u-boot-spl: $(OBJS)