summaryrefslogtreecommitdiffstats
path: root/rbutil/mkimxboot
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/mkimxboot
parent440872bb4277c882ece20339fa4b2525c1c4ed2a (diff)
downloadrockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.tar.gz
rockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.tar.bz2
rockbox-8a4075d454a64cc51ea7e496f346fd96d5970eff.zip
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/mkimxboot')
-rw-r--r--rbutil/mkimxboot/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile
index a81b960649..acfe8de6bb 100644
--- a/rbutil/mkimxboot/Makefile
+++ b/rbutil/mkimxboot/Makefile
@@ -27,7 +27,3 @@ include ../libtools.make
$(OBJDIR)mkimxboot.o: dualboot.h dualboot.c mkimxboot.c mkimxboot.h
$(OBJDIR)main.o: dualboot.h dualboot.c main.c mkimxboot.h
-$(OBJDIR)%.o: $(IMXTOOLS_DIR)%.c
- @echo CC $<
- $(SILENT)mkdir -p $(dir $@)
- $(SILENT)$(CROSS)$(CC) $(CFLAGS) -c -o $@ $<