Patch in EXTRA_VERSION
This commit is contained in:
parent
63342eab23
commit
0e65446676
@ -346,6 +346,14 @@ config BR2_KERNEL_PATCH
|
||||
default "$(BR2_LINUX26_MM_VERSION).bz2" if BR2_KERNEL_ADD_MM_PATCH
|
||||
default $(BR2_CUSTOM_LINUX26_PATCH) if BR2_LINUX26_CUSTOM
|
||||
|
||||
config BR2_EXTRA_VERSION
|
||||
string
|
||||
default ".$(BR2_KERNEL_PATCH_LEVEL)" if BR2_KERNEL_ADD_MINORPATCH || BR2_KERNEL_ADD_LATEST_MINORPATCH
|
||||
default "$(BR2_KERNEL_RC_LEVEL)" if BR2_KERNEL_ADD_LATEST_RC_PATCH
|
||||
default "$(BR2_KERNEL_RC_LEVEL)" if BR2_KERNEL_ADD_RC_PATCH
|
||||
default "BR2_KERNEL_GIT_LEVEL" if BR2_KERNEL_ADD_LATEST_SNAPSHOT
|
||||
default "$(BR2_KERNEL_MM_LEVEL)" if BR2_KERNEL_ADD_LATEST_MM_PATCH
|
||||
default "$(BR2_KERNEL_MM_LEVEL)" if BR2_KERNEL_ADD_MM_PATCH
|
||||
endmenu
|
||||
|
||||
# -----------------------------------------------
|
||||
|
@ -103,7 +103,7 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
KERNEL_CONFIG_METHOD:=($(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD))),)
|
||||
KERNEL_CONFIG_METHOD:=$(strip $(subst ",,$(BR2_KERNEL_CONFIG_METHOD)))
|
||||
#"))
|
||||
ifeq ($(KERNEL_CONFIG_METHOD),)
|
||||
KERNEL_CONFIG_METHOD:=xconfig
|
||||
@ -335,6 +335,10 @@ ifeq ($(BR2_PACKAGE_LINUX_USE_KCONFIG),y)
|
||||
$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(KERNEL_CONFIG_METHOD) ; \
|
||||
fi
|
||||
endif
|
||||
ifneq ($(strip $(subst ",,$(BR2_EXTRA_VERSION))),)
|
||||
$(SED) 's,^EXTRA_VERSION=.*,EXTRA_VERSION=="$(BR2_EXTRA_VERSION)",g'
|
||||
endif
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
$(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.config
|
||||
|
Loading…
Reference in New Issue
Block a user