summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-05-25 21:43:01 +1000
committerDamien George <damien.p.george@gmail.com>2017-05-26 13:12:42 +1000
commit85f7b0b468ce886380c585535767024a59b2af85 (patch)
tree5733ed6df9ebe78b6fad3b1afe2d524b0c374cb3 /esp8266/modules
parent8b13cd7e19d8f7c8080baa6b3cc532bb6aa79c8a (diff)
downloadmicropython-85f7b0b468ce886380c585535767024a59b2af85.tar.gz
micropython-85f7b0b468ce886380c585535767024a59b2af85.zip
py/mkrules.mk: Fix auto-qstr generation when "make -B" is used.
For make v3.81, using "make -B" can set $? to empty and in this case the auto-qstr generation needs to pass all args (ie $^) to cpp. The previous fix for this (which was removed in 23a693ec2d8c2a194f61482dc0e1adb070fb6ad4) used if statements in the shell command, which gave very long lines that didn't work on certain systems (eg cygwin). The fix in this patch is to use an $if(...) expression, which will evaluate to $? (only newer prerequisites) if it's non empty, otherwise it will use $^ (all prerequisites).
Diffstat (limited to 'esp8266/modules')
0 files changed, 0 insertions, 0 deletions