diff --git a/linux/Makefile b/linux/Makefile index 8469bc589..0c5d66a1d 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -36,8 +36,12 @@ test: generate: $(DTB) -$(DTB): $(DTS) - dtc -I dts -O dtb $< > $@ +$(DTB): $(DTS) $(IMAGES) + dtc -I dts -O dtb $< > $@ + +$(IMAGES): + @ echo "No output/images directory in buildroot." + @ echo "Run make --jobs in buildroot directory before generating device tree binaries."; exit 1 disassemble: mkdir -p $(DIS) @@ -48,33 +52,9 @@ $(OBJDUMPS): $(BINARIES) # Generating new Buildroot directories -------------------------------- -# This directive should be run as: make newbr BUILDROOT=path/to/buildroot -newbr: $(BUILDROOT) $(DRIVER) - @ echo "Patching buildroot directory at: $<" - @ echo "Copying wally configuration files and rootfs_overlay to buildroot." - cp -r $(WALLYLINUX)/buildroot-config-src/wally $