diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-14 21:59:51 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-14 21:59:51 +0000 |
| commit | 29937388fd372bc2e36a5dd317deea526fee4812 (patch) | |
| tree | 2ce25cb102da62d2c2eea12649730d68ced46788 /tools/ucl/src/Makefile | |
| parent | b24e562061213cae3a40625e3423572fb58a2d83 (diff) | |
| download | rockbox-29937388fd372bc2e36a5dd317deea526fee4812.zip rockbox-29937388fd372bc2e36a5dd317deea526fee4812.tar.gz rockbox-29937388fd372bc2e36a5dd317deea526fee4812.tar.bz2 rockbox-29937388fd372bc2e36a5dd317deea526fee4812.tar.xz | |
libucl: allow cross compiling via CROSS as well.
This will become necessary when cross compiling from other Makefiles without
additionally passing the cross linker.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31258 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/ucl/src/Makefile')
| -rw-r--r-- | tools/ucl/src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile index 33972bb..0639982 100644 --- a/tools/ucl/src/Makefile +++ b/tools/ucl/src/Makefile @@ -33,12 +33,12 @@ libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a $(TARGET_DIR)libucl$(RBARCH).a: $(OBJS) @echo AR $(notdir $@) - $(SILENT)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 + $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1 $(OBJDIR)/%.o: %.c @echo CC $< $(SILENT)mkdir -p $(dir $@) - $(SILENT)$(CC) $(CFLAGS) -c $< -o $@ + $(SILENT)$(CROSS)$(CC) $(CFLAGS) -c $< -o $@ # some trickery to build ppc and i386 from a single call ifeq ($(RBARCH),) |