build: Allow default fx2lib configuration to be overridden
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Mon, 7 Jan 2013 08:24:49 +0000 (02:24 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Mon, 7 Jan 2013 08:24:49 +0000 (02:24 -0600)
commitafbd8d7a5eebdb0f67f366aa092adf1641e8bb2b
tree0e115e5934b90faedbae48928cccfea9c5e10860
parent1616a9763a4821b72017183400c5328db9a62bd1
build: Allow default fx2lib configuration to be overridden

The default fx2lib allows the memory configuration to be overridden by defining
the memory regions in an external makefile.

Move the FX2LP configuration in config/fx2lp.mk, and include it in every
makefile in hw/*/. The configuration itself is not changed, and thus the output
should stay the same.

Being able to customize the configuration without modifying fx2lib allows us to
seamlessly support chips with different RAM layouts (FX2 vs FX2LP).

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
HACKING
config/fx2lp.mk [new file with mode: 0644]
hw/braintechnology-usb-lps/Makefile
hw/cwav-usbeeax/Makefile
hw/cwav-usbeedx/Makefile
hw/cwav-usbeesx/Makefile
hw/cypress-fx2/Makefile