From 8d0dd674beb9810fa358d03da45e42f3cc469f5f Mon Sep 17 00:00:00 2001 From: Tim Becker Date: Tue, 20 Sep 2011 14:57:46 +0200 Subject: [PATCH] Makefile now makes lpcrc for current plattform --- Makefile | 7 ++++++- lpcrc | Bin 7384 -> 0 bytes 2 files changed, 6 insertions(+), 1 deletion(-) delete mode 100755 lpcrc diff --git a/Makefile b/Makefile index 897ada3..b5a1d4c 100644 --- a/Makefile +++ b/Makefile @@ -124,6 +124,8 @@ OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump OUTFILE = firmware LPCRC = ./lpcrc +LPCRC_DIR = ./tools/lpcrc +CP = cp ########################################################################## # GNU GCC compiler flags @@ -167,7 +169,10 @@ all: firmware %.o : %.s $(AS) $(ASFLAGS) -o $@ $< -firmware: $(OBJS) $(SYS_OBJS) +$(LPCRC) : + $(MAKE) -C $(LPCRC_DIR) && $(CP) $(LPCRC_DIR)/lpcrc . + +firmware: $(OBJS) $(SYS_OBJS) $(LPCRC) -@echo "MEMORY" > $(LD_TEMP) -@echo "{" >> $(LD_TEMP) -@echo " flash(rx): ORIGIN = 0x00000000, LENGTH = $(FLASH)" >> $(LD_TEMP) diff --git a/lpcrc b/lpcrc deleted file mode 100755 index a6c1aa4c7198bc4784d905bbe1814033684eec7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7384 zcmeHMZEO_B8J;^I$&p@yF{U_)K`Z5Gj0zVU3;{%`!8RWWU;>7cIIx`W_Pkf_!`wg4#%JR763Mswh$`_d{(ED0O5MlnSX%rAnxZD%yf{$Zktjnpi63`aCl? z_HiUq`@4+v?#wgu%scPSytDJM-)P^q$>;M49sHt75RJbW2sR^bnX5{gg&~5XK`auF ziu;hovgV`UKx73}nuWXoq>5$0&Bss|lFq~gm`$xN;<;$|buRT)f^<(qfxK}y+4oiJ6_twqefVfhE`Uwu41^!)3Qqn-P% zhCcrFte2){v+OgFAOzi^-WPFsAcr*2+bi(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