From: Nathael Pajani Date: Wed, 8 Feb 2023 20:28:16 +0000 (+0100) Subject: Update app filter to prevent building host binaries with target toolchain when buildi... X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=fbf86fd64b48fd5e63c0091d5beafe51d12300dd;p=soft%2Flpc122x%2Fcore Update app filter to prevent building host binaries with target toolchain when building all projects Also remove non ASCII characters from Makefile --- diff --git a/Makefile b/Makefile index ff76888..f81bb81 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ LDFLAGS = -static $(LD_DEBUG) -nostartfiles -nostdlib -Tlpc_link_$(LPC).ld \ -Wl,-Map=$(TARGET_DIR)/lpc_map_$(LPC).map -APPS = $(subst apps/,,$(wildcard apps/*/*/))) +APPS = $(subst apps/,,$(wildcard apps/*/[!host]*/)) .PHONY: all $(APPS) all: $(APPS) @@ -60,7 +60,7 @@ NAME_DEPS = ${NAME_OBJS:%.o=$(OBJDIR)/%.d} @$(CC) $(LDFLAGS) $(OBJS) $(NAME_OBJS) -o $@ %.bin: %.elf - @echo "Creating image : $@" + @echo "Creating image : \e[32m$@\e[39m" @$(CROSS_COMPILE)objcopy -R .stack -R .bss -O binary $^ $@ @ls -l $@ @$(CROSS_COMPILE)size $^