-install: compile $(TARGET_MODULES_DIR) $(KERNEL_IPKG)
- rm -rf $(LINUX_BUILD_DIR)/root*
- cp -fpR $(BUILD_DIR)/root $(LINUX_BUILD_DIR)/
- echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR)/ipkg.conf
- $(MAKE) -C $(TOPDIR)/target/linux/package \
- $(KPKG_MAKEOPTS) \
- install
- @{ [ "$(INSTALL_TARGETS)" != "" ] && $(IPKG_KERNEL) install $(INSTALL_TARGETS) || true; } $(MAKE_TRACE)
+compile: prepare $(STAMP_DIR)/.linux-compile
+
+install: compile
+ @$(TRACE) target/linux/package/install
+ $(MAKE) pkg-install $(MAKE_TRACE)
+ $(MAKE) $(LINUX_KERNEL) $(MAKE_TRACE)