How do I build an image with a modified device tree using the 18.06 snapshot Image Generator?
I want to add a few lines to the target dts file to define a pps-gpio source. I can do this if I download the build system and compile everything from scratch. However, this seems unnecessary as the Image Generator appears to contain everything required - the device tree source files and a dtc binary.
I have successfully made working images with the image generator, but when I modify the dts file, the changes do not make it into the new image. I have tried tracing the working of the build system, but it confusing so I thought I'd ask.
Specifically:
Target sytem MediaTek Ralink MIPS
Subtarget MT76x8
Target profile GL-MT300N-V2
Build image with:
make image PROFILE=gl-mt300n-v2 PACKAGES="luci pps-gpio"
I then modify target/linux/ramips/dts/GL-MT300N-V2.dts
make image PROFILE=gl-mt300n-v2 PACKAGES="luci pps-gpio"