mirror of
https://abf.rosa.ru/djam/kernel-6.7-xanmod.git
synced 2025-02-25 10:02:49 +00:00
Revisited the patch for mrproper, etc., for the kernel 4.4.7
This commit is contained in:
parent
4743610ad0
commit
4d11ec3cd3
1 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/Makefile b/Makefile
|
diff --git a/Makefile b/Makefile
|
||||||
index c6a265b..b52baa9 100644
|
index 5a493e7..2055c07 100644
|
||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -540,9 +540,7 @@ ifeq ($(KBUILD_EXTMOD),)
|
@@ -540,9 +540,7 @@ ifeq ($(KBUILD_EXTMOD),)
|
||||||
|
@ -48,7 +48,7 @@ index c6a265b..b52baa9 100644
|
||||||
PHONY += $(mrproper-dirs) mrproper archmrproper
|
PHONY += $(mrproper-dirs) mrproper archmrproper
|
||||||
$(mrproper-dirs):
|
$(mrproper-dirs):
|
||||||
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
|
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
|
||||||
index d79cba4..7f51efa 100644
|
index ebced77..7f51efa 100644
|
||||||
--- a/scripts/kconfig/Makefile
|
--- a/scripts/kconfig/Makefile
|
||||||
+++ b/scripts/kconfig/Makefile
|
+++ b/scripts/kconfig/Makefile
|
||||||
@@ -19,23 +19,16 @@ endif
|
@@ -19,23 +19,16 @@ endif
|
||||||
|
@ -83,7 +83,7 @@ index d79cba4..7f51efa 100644
|
||||||
|
|
||||||
PHONY += oldnoconfig savedefconfig defconfig
|
PHONY += oldnoconfig savedefconfig defconfig
|
||||||
|
|
||||||
@@ -91,21 +83,10 @@ PHONY += oldnoconfig savedefconfig defconfig
|
@@ -91,23 +83,10 @@ PHONY += oldnoconfig savedefconfig defconfig
|
||||||
oldnoconfig: olddefconfig
|
oldnoconfig: olddefconfig
|
||||||
|
|
||||||
savedefconfig: $(obj)/conf
|
savedefconfig: $(obj)/conf
|
||||||
|
@ -92,12 +92,14 @@ index d79cba4..7f51efa 100644
|
||||||
defconfig: $(obj)/conf
|
defconfig: $(obj)/conf
|
||||||
-ifeq ($(KBUILD_DEFCONFIG),)
|
-ifeq ($(KBUILD_DEFCONFIG),)
|
||||||
- $< $(silent) --defconfig $(Kconfig)
|
- $< $(silent) --defconfig $(Kconfig)
|
||||||
-else ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
|
-else
|
||||||
|
-ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
|
||||||
- @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
|
- @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
|
||||||
- $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
|
- $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
|
||||||
-else
|
-else
|
||||||
- @$(kecho) "*** Default configuration is based on target '$(KBUILD_DEFCONFIG)'"
|
- @$(kecho) "*** Default configuration is based on target '$(KBUILD_DEFCONFIG)'"
|
||||||
- $(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG)
|
- $(Q)$(MAKE) -f $(srctree)/Makefile $(KBUILD_DEFCONFIG)
|
||||||
|
-endif
|
||||||
-endif
|
-endif
|
||||||
|
|
||||||
%_defconfig: $(obj)/conf
|
%_defconfig: $(obj)/conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue