From 81268d33a56c95818a348b01390db47d99a85361 Mon Sep 17 00:00:00 2001 From: Scott Sweeny Date: Wed, 1 Sep 2010 12:10:38 -0400 Subject: Make sure Freescale utilities are chmod +x before trying to execute them --- Makefile | 3 +++ nand_spl/board/ads5125/Makefile | 1 + 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c13428f4e9..6e48f5c1ee 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 7e349665fc..d797f5ffa4 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) -- cgit v1.2.3