mpy-cross: Add -s option to specify the embedded source filename.
mpy-cross: Add -s option to specify the embedded source filename.

.mpy files contain the name of the source file that they were compiled
from.  This patch adds a way to change this name to an arbitrary string,
specified on the command line with the -s option.  The default is to use
the full name of the input filename.

This new -s option is useful to strip off a leading directory name so
that mpy-tool.py can freeze packages.

mpalomer/micropython,ganshun666/micropython,dxxb/micropython,Peetz0r/micropython-esp32,ryannathans/micropython,henriknelson/micropython,MrSurly/micropython,matthewelse/micropython,deshipu/micropython,adafruit/micropython,tobbad/micropython,ganshun666/micropython,Timmenem/micropython,MrSurly/micropython,oopy/micropython,puuu/micropython,emfcamp/micropython,ryannathans/micropython,praemdonck/micropython,ryannathans/micropython,kerneltask/micropython,emfcamp/micropython,pramasoul/micropython,redbear/micropython,tuc-osg/micropython,HenrikSolver/micropython,pozetroninc/micropython,blazewicz/micropython,hosaka/micropython,alex-robbins/micropython,mpalomer/micropython,bvernoux/micropython,infinnovation/micropython,torwag/micropython,mhoffma/micropython,pfalcon/micropython,selste/micropython,alex-march/micropython,puuu/micropython,Peetz0r/micropython-esp32,PappaPeppar/micropython,SHA2017-badge/micropython-esp32,hosaka/micropython,TDAbboud/micropython,trezor/micropython,hosaka/micropython,MrSurly/micropython,redbear/micropython,ryannathans/micropython,henriknelson/micropython,HenrikSolver/micropython,oopy/micropython,kerneltask/micropython,adafruit/circuitpython,dxxb/micropython,lowRISC/micropython,turbinenreiter/micropython,kerneltask/micropython,lowRISC/micropython,chrisdearman/micropython,pfalcon/micropython,Timmenem/micropython,SHA2017-badge/micropython-esp32,toolmacher/micropython,ryannathans/micropython,TDAbboud/micropython,jmarcelino/pycom-micropython,infinnovation/micropython,turbinenreiter/micropython,puuu/micropython,matthewelse/micropython,blazewicz/micropython,deshipu/micropython,HenrikSolver/micropython,matthewelse/micropython,SHA2017-badge/micropython-esp32,MrSurly/micropython-esp32,emfcamp/micropython,tuc-osg/micropython,micropython/micropython-esp32,alex-robbins/micropython,adafruit/circuitpython,blazewicz/micropython,tobbad/micropython,adafruit/micropython,redbear/micropython,tralamazza/micropython,lowRISC/micropython,dmazzella/micropython,MrSurly/micropython,mpalomer/micropython,Peetz0r/micropython-esp32,AriZuu/micropython,SHA2017-badge/micropython-esp32,selste/micropython,MrSurly/micropython-esp32,ganshun666/micropython,tralamazza/micropython,praemdonck/micropython,emfcamp/micropython,Timmenem/micropython,dinau/micropython,alex-robbins/micropython,oopy/micropython,mpalomer/micropython,MrSurly/micropython,trezor/micropython,selste/micropython,pfalcon/micropython,jmarcelino/pycom-micropython,deshipu/micropython,mpalomer/micropython,turbinenreiter/micropython,puuu/micropython,bvernoux/micropython,dmazzella/micropython,alex-march/micropython,jmarcelino/pycom-micropython,oopy/micropython,alex-march/micropython,praemdonck/micropython,Timmenem/micropython,chrisdearman/micropython,hiway/micropython,trezor/micropython,toolmacher/micropython,pozetroninc/micropython,TDAbboud/micropython,dinau/micropython,HenrikSolver/micropython,kerneltask/micropython,torwag/micropython,AriZuu/micropython,selste/micropython,cwyark/micropython,matthewelse/micropython,cwyark/micropython,SHA2017-badge/micropython-esp32,toolmacher/micropython,pramasoul/micropython,turbinenreiter/micropython,alex-robbins/micropython,Timmenem/micropython,deshipu/micropython,jmarcelino/pycom-micropython,blazewicz/micropython,puuu/micropython,deshipu/micropython,torwag/micropython,redbear/micropython,emfcamp/micropython,tuc-osg/micropython,dmazzella/micropython,turbinenreiter/micropython,PappaPeppar/micropython,torwag/micropython,kerneltask/micropython,TDAbboud/micropython,oopy/micropython,jmarcelino/pycom-micropython,Peetz0r/micropython-esp32,infinnovation/micropython,infinnovation/micropython,TDAbboud/micropython,trezor/micropython,swegener/micropython,AriZuu/micropython,chrisdearman/micropython,tuc-osg/micropython,infinnovation/micropython,hiway/micropython,MrSurly/micropython-esp32,ganshun666/micropython,henriknelson/micropython,selste/micropython,cwyark/micropython,swegener/micropython,chrisdearman/micropython,adafruit/circuitpython,pramasoul/micropython,MrSurly/micropython-esp32,trezor/micropython,lowRISC/micropython,dinau/micropython,PappaPeppar/micropython,alex-robbins/micropython,pozetroninc/micropython,bvernoux/micropython,bvernoux/micropython,dinau/micropython,mhoffma/micropython,pramasoul/micropython,alex-march/micropython,redbear/micropython,matthewelse/micropython,ganshun666/micropython,micropython/micropython-esp32,praemdonck/micropython,dxxb/micropython,micropython/micropython-esp32,PappaPeppar/micropython,dmazzella/micropython,mhoffma/micropython,Peetz0r/micropython-esp32,praemdonck/micropython,pozetroninc/micropython,MrSurly/micropython-esp32,HenrikSolver/micropython,dxxb/micropython,dinau/micropython,tobbad/micropython,mhoffma/micropython,PappaPeppar/micropython,tobbad/micropython,adafruit/circuitpython,chrisdearman/micropython,tralamazza/micropython,tuc-osg/micropython,pramasoul/micropython,tralamazza/micropython,hosaka/micropython,micropython/micropython-esp32,tobbad/micropython,pfalcon/micropython,adafruit/circuitpython,swegener/micropython,alex-march/micropython,swegener/micropython,hiway/micropython,pfalcon/micropython,torwag/micropython,adafruit/circuitpython,adafruit/micropython,matthewelse/micropython,hiway/micropython,toolmacher/micropython,pozetroninc/micropython,cwyark/micropython,mhoffma/micropython,dxxb/micropython,adafruit/micropython,toolmacher/micropython,adafruit/micropython,hiway/micropython,micropython/micropython-esp32,bvernoux/micropython,henriknelson/micropython,cwyark/micropython,henriknelson/micropython,lowRISC/micropython,swegener/micropython,AriZuu/micropython,blazewicz/micropython,hosaka/micropython,AriZuu/micropython