Because of modularity concerns, this logic must be removed from tools/Makefile.unix:
483 ifeq ($(CONFIG_CXD56_BINARY),y)
484 $(Q) if [ ! -f "tools/cxd56/mkspk" ] ; then \
485 echo ""; \
486 echo "Please run the following command to build the needed tool"; \
487 echo ""; \
488 echo "cd tools/cxd56 && make && cd ../.."; \
489 echo ""; \
490 echo "run make again to create the nuttx.spk image."; \
491 else \
492 echo "Generating: $(NUTTXNAME).spk"; \
493 tools/cxd56/mkspk -c2 nuttx nuttx nuttx.spk; \
494 fi
495 endif
If is FORBIDDEN to include platform specific logic in common build logic.
Because of modularity concerns, this logic must be removed from tools/Makefile.unix:
If is FORBIDDEN to include platform specific logic in common build logic.