Hi Rich,
there's no such functionality directly integrated in gr_modtool.
However, there's not that many places you'll have to work when manually
merging things.
To be safe, you could just re-add all the blocks you want to add to your
consolidated module with "gr_modtool add", and then just overwrite the
resulting blockname.h, blockname_impl.cc and blockname_impl.h with your
originals, before replacing all occurences of your "original" module
names with the consolidated module's name via some search & replace tool
("sed -i 's/original/consolidated/g' filenames" does wonders :) )Cheers, Marcus On 11.05.2016 19:42, Richard Bell wrote: > Hi all, > > Before I fully understood how gr_modtool worked, I would make a new > module for each new block I made. I would like to consolidate these > disparate modules into one overarching module now. I have approx 10 > modules some with more then one block that I'd like to make one module. > > Is there an easy way to do this or do I have to create each existing > block via modtool in the new module? > > Rich > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
