mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
build: create JSON files containing image info
This commit is contained in:
parent
f6984f6389
commit
39a642a130
@ -7,6 +7,13 @@
|
|||||||
|
|
||||||
menu "Global build settings"
|
menu "Global build settings"
|
||||||
|
|
||||||
|
config JSON_ADD_IMAGE_INFO
|
||||||
|
bool "Create JSON info files per build image"
|
||||||
|
default BUILDBOT
|
||||||
|
help
|
||||||
|
The JSON info files contain information about the device and
|
||||||
|
build images, stored next to the firmware images.
|
||||||
|
|
||||||
config ALL_NONSHARED
|
config ALL_NONSHARED
|
||||||
bool "Select all target specific packages by default"
|
bool "Select all target specific packages by default"
|
||||||
select ALL_KMODS
|
select ALL_KMODS
|
||||||
|
@ -242,7 +242,7 @@ define Image/mkfs/squashfs
|
|||||||
$(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \
|
$(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \
|
||||||
-nopad -noappend -root-owned \
|
-nopad -noappend -root-owned \
|
||||||
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \
|
-comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \
|
||||||
-processors 1
|
-processors 16
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# $(1): board name
|
# $(1): board name
|
||||||
|
1156
scripts/json_add_image_info.py
Normal file
1156
scripts/json_add_image_info.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user