Makefile.target 546 B

1234567891011
  1. override define Kernel/Configure
  2. cp $(GLUONDIR)/kernel/config-$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) $(LINUX_DIR)/.config
  3. $(MAKE) $(KERNEL_MAKEOPTS) oldnoconfig
  4. $(call Kernel/SetInitramfs)
  5. rm -rf $(KERNEL_BUILD_DIR)/modules
  6. [ -d $(LINUX_DIR)/user_headers ] || $(MAKE) $(KERNEL_MAKEOPTS) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install
  7. cp $(GLUONDIR)/kernel/vermagic-$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) $(LINUX_DIR)/.vermagic
  8. endef
  9. # The Makefile included here is $(TOPDIR)/target/linux/$(BOARD)/Makefile
  10. include Makefile