Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save natsumerinchan/da5bcec1c13395b3f92efcc232b0c237 to your computer and use it in GitHub Desktop.
Save natsumerinchan/da5bcec1c13395b3f92efcc232b0c237 to your computer and use it in GitHub Desktop.
From 2cea5094c6104dba89e2e759b7984a65357c5d2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=82=BB=E3=83=AA=E3=82=AB=E3=83=BB=E3=82=B7=E3=83=AB?=
=?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB?=
<[email protected]>
Date: Sat, 25 Mar 2023 18:13:53 +0800
Subject: [PATCH] kernel: Show the real /proc/config.gz
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: セリカ・シルフィル <[email protected]>
---
kernel/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
index 83436cf9d72c..40f87d0daf89 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -126,15 +126,10 @@ CFLAGS_configs.o := $(DISABLE_LTO)
$(obj)/configs.o: $(obj)/config_data.gz
-targets += config_data config_data.gz
-$(obj)/config_data.gz: $(obj)/config_data FORCE
+targets += config_data.gz
+$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
$(call if_changed,gzip)
-filechk_cat = cat $<
-
-$(obj)/config_data: arch/arm64/configs/stock_defconfig FORCE
- $(call filechk,cat)
-
$(obj)/kheaders.o: $(obj)/kheaders_data.tar.xz
quiet_cmd_genikh = CHK $(obj)/kheaders_data.tar.xz
--
2.40.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment