Fix
This commit is contained in:
2
Makefile
2
Makefile
@ -275,7 +275,7 @@ $(GEN)/pico_ice_boot.h: tools/source_to_string.js $(GEN)/pico_ice_boot_merged.fs
|
|||||||
$< boot $(VERSION) $(REVISION) $(GEN)/pico_ice_boot_merged.fs >$@
|
$< boot $(VERSION) $(REVISION) $(GEN)/pico_ice_boot_merged.fs >$@
|
||||||
|
|
||||||
$(GEN)/esp32_boot_merged.fs: esp32/esp32_boot.fs | $(GEN)
|
$(GEN)/esp32_boot_merged.fs: esp32/esp32_boot.fs | $(GEN)
|
||||||
./tools/importation.py $^ $@ \
|
./tools/importation.py $< $@ \
|
||||||
-I . -I $(GEN) --depsout $@.dd \
|
-I . -I $(GEN) --depsout $@.dd \
|
||||||
--set-version $(VERSION) \
|
--set-version $(VERSION) \
|
||||||
--set-revision $(REVISION)
|
--set-revision $(REVISION)
|
||||||
|
|||||||
@ -36,6 +36,7 @@ def Import(filename):
|
|||||||
elif (filename.endswith('.h') or
|
elif (filename.endswith('.h') or
|
||||||
filename.endswith('.ino') or
|
filename.endswith('.ino') or
|
||||||
filename.endswith('.cc') or
|
filename.endswith('.cc') or
|
||||||
|
filename.endswith('.cpp') or
|
||||||
filename.endswith('.c')) and line.startswith('#include "'):
|
filename.endswith('.c')) and line.startswith('#include "'):
|
||||||
sfilename = line.split('"')[1]
|
sfilename = line.split('"')[1]
|
||||||
done = False
|
done = False
|
||||||
|
|||||||
Reference in New Issue
Block a user