MycroftOS: Separate log files for each target.
This commit is contained in:
parent
cd521279b0
commit
16dfe9b74f
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ $(TARGETS_CONFIG): %-config:
|
||||||
|
|
||||||
$(TARGETS): %: $(RELEASE_DIR) %-config
|
$(TARGETS): %: $(RELEASE_DIR) %-config
|
||||||
@echo "build $@"
|
@echo "build $@"
|
||||||
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) 2>&1 | tee logs/buildroot_output.txt
|
$(MAKE) -C $(BUILDROOT) BR2_EXTERNAL=../$(BUILDROOT_EXTERNAL) 2>&1 | tee logs/buildroot_$@_output.txt
|
||||||
cp -f $(BUILDROOT)/output/images/sdcard.img $(RELEASE_DIR)/MycroftOS_$@.img
|
cp -f $(BUILDROOT)/output/images/sdcard.img $(RELEASE_DIR)/MycroftOS_$@.img
|
||||||
|
|
||||||
# Do not clean when building for one target
|
# Do not clean when building for one target
|
||||||
|
|
Loading…
Reference in New Issue