This commit is contained in:
Brad Nelson
2023-12-22 16:30:20 -08:00
parent d73d340271
commit d3b2bbb6f0
2 changed files with 2 additions and 1 deletions

View File

@ -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 >$@
$(GEN)/esp32_boot_merged.fs: esp32/esp32_boot.fs | $(GEN)
./tools/importation.py $^ $@ \
./tools/importation.py $< $@ \
-I . -I $(GEN) --depsout $@.dd \
--set-version $(VERSION) \
--set-revision $(REVISION)

View File

@ -36,6 +36,7 @@ def Import(filename):
elif (filename.endswith('.h') or
filename.endswith('.ino') or
filename.endswith('.cc') or
filename.endswith('.cpp') or
filename.endswith('.c')) and line.startswith('#include "'):
sfilename = line.split('"')[1]
done = False