Commit 90b6f5ae authored by Jialin Zhang's avatar Jialin Zhang
Browse files

Revert "kconfig: Add script to update openeuler_defconfig"

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8JANU



--------------------------------

This reverts commit ca1af589.

Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent 8edbf4ae
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -75,14 +75,6 @@ PHONY += savedefconfig defconfig
savedefconfig: $(obj)/conf
	$(Q)$< $(silent) --$@=defconfig $(Kconfig)

update_oedefconfig: $(obj)/conf
	$(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/openeuler_defconfig $(Kconfig)
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/makeconfig.sh $(SRCARCH)

save_oedefconfig: $(obj)/conf
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/makeconfig.sh $(SRCARCH)


defconfig: $(obj)/conf
ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
	@$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"

scripts/kconfig/makeconfig.sh

deleted100644 → 0
+0 −19
Original line number Diff line number Diff line
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

if [ ! -f .config ]; then
	echo ".config does not exist"
	exit 1
fi

sed -e '/CONFIG_CC_VERSION_TEXT/d' \
    -e '/CONFIG_CC_IS_GCC/d' \
    -e '/CONFIG_GCC_VERSION/d' \
    -e '/CONFIG_LD_VERSION/d' \
    -e '/CONFIG_CLANG_VERSION/d' \
    -e '/CONFIG_LLD_VERSION/d' \
    -e '/CONFIG_CC_CAN/d' \
    -e '/CONFIG_CC_HAS/d' \
    -i .config

cp .config arch/$1/configs/openeuler_defconfig