summaryrefslogtreecommitdiff
path: root/rbutil/mktccboot
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-05-11 11:28:08 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-05-11 20:34:11 +0200
commit8a4075d454a64cc51ea7e496f346fd96d5970eff (patch)
treef0702978f4d1bb2bae64da8e75a7acabece90a68 /rbutil/mktccboot
parent440872bb4277c882ece20339fa4b2525c1c4ed2a (diff)
downloadrockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.zip
rockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.tar.gz
rockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.tar.bz2
rockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.tar.xz
Make libtools compile rule more generic.
Create the object - source dependency internally and use a more generic rule for compiling. Removes the need for explicit rules for source files located in a different folder. This adds the limitation for SOURCES and LIBSOURCES to only hold C files. Change-Id: I56f6a4b1e7df36347cd2f54051e072251f456092
Diffstat (limited to 'rbutil/mktccboot')
-rw-r--r--rbutil/mktccboot/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/rbutil/mktccboot/Makefile b/rbutil/mktccboot/Makefile
index 31ad68e..df49c69 100644
--- a/rbutil/mktccboot/Makefile
+++ b/rbutil/mktccboot/Makefile
@@ -25,9 +25,4 @@ include ../libtools.make
# Rules go _after_ including mkboot.make to have OBJDIR set up correctly.
# Paths are assumed to end with a /
telechips.o: $(OBJDIR)telechips.o
-$(OBJDIR)%.o: $(TOOLSDIR)%.c
- @echo CC $<
- $(SILENT)mkdir -p $(dir $@)
- $(SILENT)$(CROSS)$(CC) $(CFLAGS) -c -o $@ $<
-