tools/pic32: update pic32 scripts to fix jobserver unavailable warning
Always build mkpichex to make sure it newest, also correct target name. Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
d07fde06ae
commit
2c9f91205f
@ -28,11 +28,9 @@
|
||||
ifeq ($(CONFIG_INTELHEX_BINARY),y)
|
||||
|
||||
define POSTBUILD
|
||||
$(Q)echo "Converting the hex file";
|
||||
$(Q)echo "Converting the hex file"
|
||||
|
||||
$(Q) if [ ! -f "tools/pic32/mkpichex" ] ; then \
|
||||
$(MAKE) -C $(TOPDIR)$(DELIM)tools$(DELIM)pic32 -f Makefile.host; \
|
||||
fi
|
||||
+$(Q) $(MAKE) -C $(TOPDIR)$(DELIM)tools$(DELIM)pic32 -f Makefile.host
|
||||
tools$(DELIM)pic32$(DELIM)mkpichex$(HOSTEXEEXT) $(PWD)
|
||||
$(Q)([ $$? -eq 0 ] && echo "Done.")
|
||||
endef
|
||||
|
@ -28,7 +28,7 @@ CFLAGS = -O2 -Wall -I.
|
||||
|
||||
# mkpichex - Convert virtual addresses in nuttx.hex to physical addresses
|
||||
|
||||
mkconfig: mkpichex.c mkpichex.c
|
||||
mkpichex: mkpichex.c
|
||||
@gcc $(CFLAGS) -o mkpichex mkpichex.c
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user