mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	A few more tweaks to scripts
- Changed `make summary` to show a one line summary - Added `make lfs.csv` rule, which is useful for finding more info with other scripts - Fixed small issue in ./scripts/summary.py - Added *.ci (callgraph) and *.csv (script output) to CI
This commit is contained in:
		
							
								
								
									
										15
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								Makefile
									
									
									
									
									
								
							| @@ -133,7 +133,7 @@ summary: $(OBJ) $(CGI) | ||||
| 		$(if $(COVERAGE),\ | ||||
| 			| ./scripts/coverage.py $(BUILDDIR)tests/*.toml.info \ | ||||
| 				-q -m - -o - $(COVERAGEFLAGS)) \ | ||||
| 		| ./scripts/summary.py $(SUMMARYFLAGS)) | ||||
| 		| ./scripts/summary.py -Y $(SUMMARYFLAGS)) | ||||
|  | ||||
|  | ||||
| # rules | ||||
| @@ -143,9 +143,20 @@ summary: $(OBJ) $(CGI) | ||||
| $(BUILDDIR)lfs: $(OBJ) | ||||
| 	$(CC) $(CFLAGS) $^ $(LFLAGS) -o $@ | ||||
|  | ||||
| $(BUILDDIR)%.a: $(OBJ) | ||||
| $(BUILDDIR)lfs.a: $(OBJ) | ||||
| 	$(AR) rcs $@ $^ | ||||
|  | ||||
| $(BUILDDIR)lfs.csv: $(OBJ) $(CGI) | ||||
| 	$(strip \ | ||||
| 		  ./scripts/code.py    $(OBJ) -q      -o - $(CODEFLAGS) \ | ||||
| 		| ./scripts/data.py    $(OBJ) -q -m - -o - $(DATAFLAGS) \ | ||||
| 		| ./scripts/stack.py   $(CGI) -q -m - -o - $(STACKFLAGS) \ | ||||
| 		| ./scripts/structs.py $(OBJ) -q -m - -o - $(STRUCTFLAGS) \ | ||||
| 		$(if $(COVERAGE),\ | ||||
| 			| ./scripts/coverage.py $(BUILDDIR)tests/*.toml.info \ | ||||
| 				-q -m - -o - $(COVERAGEFLAGS)) \ | ||||
| 		> $@) | ||||
|  | ||||
| $(BUILDDIR)%.o: %.c | ||||
| 	$(CC) -c -MMD $(CFLAGS) $< -o $@ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user