[key-real@arch source]$ make rtl CPU_TARGET=mipsel OS_TARGET=ps1 FPC=/home/key-real/vip-code/source/compiler/ppcrossmipsel
make -C rtl all
make[1]: Entering directory '/home/key-real/vip-code/source/rtl'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/key-real/vip-code/source/rtl'
You declare that mispel-ps1 is a valid makefile target at the top of rtl/MakeFile, but you still need to define the specific actions that make needs to take. To get started, search for mipsel-linux and see what is defined for that. I would think you need the following two entries at least:
ifeq ($(CPU_OS_TARGET),mipsel-ps1)
override TARGET_DIRS+=ps1
endif
ifeq ($(CPU_OS_TARGET),mipsel-ps1)
TARGET_DIRS_PS1=1
Then search for TARGET_DIRS_LINUX. Towards the end of the MakeFile there is a long section starting with:
ifdef TARGET_DIRS_LINUX
linux_all:
$(MAKE) -C linux all
Clone this section and create a similar structure for TARGET_DIRS_PS1 that refers to ps1 in place of linux. NOTE: this is all untested!
This is a very manual process that can easily lead to mistakes. Eventually you have to learn how to use the
fpcm tool. This tool takes an input file (MakeFile.fpc) that basically just give a list of target folders and expand it into a proper MakeFile. But fpcm also needs updating to be aware of your new target combination before it will all work together.