Add kernel config command
This commit is contained in:
parent
13ddec78a4
commit
883917d784
4
Makefile
4
Makefile
|
|
@ -11,6 +11,10 @@ export KERNEL_FILE_NAME
|
|||
kernel:
|
||||
$(MAKE) -C $(MAKEFILE_DIR)/linux
|
||||
|
||||
kernel-config:
|
||||
$(MAKE) -C $(MAKEFILE_DIR)/linux kernel-config
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,10 @@ KERNEL_BUILD_DIR=$(BUILD_DIR)/linux/kernel
|
|||
|
||||
all: $(KERNEL_PATH)
|
||||
|
||||
|
||||
$(KERNEL_PATH):
|
||||
@mkdir -p $(KERNEL_BUILD_DIR)
|
||||
$(MAKE) -C $(MAKEFILE_DIR)/kernel O=$(KERNEL_BUILD_DIR) KCONFIG_CONFIG="$(MAKEFILE_DIR)/.config"
|
||||
|
||||
kernel-config:
|
||||
$(MAKE) -C $(MAKEFILE_DIR)/kernel O=$(KERNEL_BUILD_DIR) KCONFIG_CONFIG="$(MAKEFILE_DIR)/.config" menuconfig
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user