Require first to compile kernel before installing modules
This commit is contained in:
parent
2d9e7341a1
commit
71b4da7b59
1 changed files with 2 additions and 2 deletions
|
@ -62,10 +62,10 @@ $(KERNEL_BZIMAGE): $(KERNEL_CONFIG)
|
||||||
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS)
|
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS)
|
||||||
$(hide) cp -f $(KERNEL_OUT_DIR)/arch/arm64/boot/Image $@
|
$(hide) cp -f $(KERNEL_OUT_DIR)/arch/arm64/boot/Image $@
|
||||||
|
|
||||||
$(KERNEL_OUT_MODINSTALL): $(KERNEL_CONFIG)
|
$(KERNEL_OUT_MODINSTALL): $(KERNEL_BZIMAGE)
|
||||||
|
@rm -rf $(KERNEL_OUT_MODINSTALL)
|
||||||
@mkdir -p $(KERNEL_OUT_MODINSTALL)
|
@mkdir -p $(KERNEL_OUT_MODINSTALL)
|
||||||
@$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) modules_install
|
@$(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) modules_install
|
||||||
@touch $@
|
|
||||||
|
|
||||||
mrproper_kernel:
|
mrproper_kernel:
|
||||||
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) mrproper
|
$(hide) $(KERNEL_BLD_ENV) $(MAKE) -C $(KERNEL_SRC_DIR) $(KERNEL_BLD_FLAGS) mrproper
|
||||||
|
|
Loading…
Reference in a new issue