Skip to content

tools/Makefile.unix: Remove FORBIDDEN CXD56 code in common Makefile. #442

@patacongo

Description

@patacongo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ModularityNeeded to support modular architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions