X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3004e9b5ab6b7c5d74af9bfd18a47d187ece930c..0a6dc7ccb6f202f81f7d9f851b2d9c1bb0fbe5a1:/target/linux/package/mini_fo/Makefile diff --git a/target/linux/package/mini_fo/Makefile b/target/linux/package/mini_fo/Makefile index 45c1b4130..4ea3be838 100644 --- a/target/linux/package/mini_fo/Makefile +++ b/target/linux/package/mini_fo/Makefile @@ -29,6 +29,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(PKG_BUILD_DIR) \ + PATH="$(TARGET_PATH)" \ ARCH="$(LINUX_KARCH)" \ KERNELVERSION="$(KERNEL_VERSION)" \ KERNEL_SRC="$(KERNEL_DIR)" \ @@ -38,7 +39,7 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_KMOD_MINI_FO): install -m0755 -d $(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION) install -m0755 -d $(IDIR_KMOD_MINI_FO)/etc/modules.d - cp -fpR $(PKG_BUILD_DIR)/mini_fo.o \ + cp -fpR $(PKG_BUILD_DIR)/mini_fo.$(LINUX_KMOD_SUFFIX) \ $(IDIR_KMOD_MINI_FO)/lib/modules/$(LINUX_VERSION)/ echo "mini_fo" > $(IDIR_KMOD_MINI_FO)/etc/modules.d/15-mini-fo $(RSTRIP_KMOD) $(IDIR_KMOD_MINI_FO)