-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
193 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- a/include/image.mk | ||
+++ b/include/image.mk | ||
@@ -469,7 +469,6 @@ define Device/Check | ||
endif | ||
endef | ||
|
||
-ifndef IB | ||
define Device/Build/initramfs | ||
$(call Device/Export,$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE),$(1)) | ||
$$(_TARGET): $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE) \ | ||
@@ -479,9 +478,11 @@ define Device/Build/initramfs | ||
$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE) | ||
cp $$^ $$@ | ||
|
||
+ ifndef IB | ||
$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare | ||
@rm -f $$@ | ||
$$(call concat_cmd,$$(KERNEL_INITRAMFS)) | ||
+ endif | ||
|
||
$(call Device/Export,$(BUILD_DIR)/json_info_files/$$(KERNEL_INITRAMFS_IMAGE).json,$(1)) | ||
|
||
@@ -515,7 +516,6 @@ define Device/Build/initramfs | ||
SUPPORTED_DEVICES="$$(SUPPORTED_DEVICES)" \ | ||
$(TOPDIR)/scripts/json_add_image_info.py $$@ | ||
endef | ||
-endif | ||
|
||
define Device/Build/compile | ||
$$(_COMPILE_TARGET): $(KDIR)/$(1) | ||
|
||
--- a/scripts/json_overview_image_info.py | ||
+++ b/scripts/json_overview_image_info.py | ||
@@ -47,7 +47,7 @@ def get_initial_output(image_info): | ||
|
||
|
||
if output: | ||
- default_packages, output["arch_packages"] = run( | ||
+ default_packages, output["arch_packages"], output["kernel_version"] = run( | ||
[ | ||
"make", | ||
"--no-print-directory", | ||
@@ -55,6 +55,7 @@ def get_initial_output(image_info): | ||
"target/linux/", | ||
"val.DEFAULT_PACKAGES", | ||
"val.ARCH_PACKAGES", | ||
+ "val.LINUX_VERSION", | ||
], | ||
stdout=PIPE, | ||
stderr=PIPE, |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.