X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/61cc20d2fb0bcbb363d6d20efe3b0798379bbf41..9a8d9ffe395c727658d35c4398701e12d56013c7:/package/linux/linux.mk diff --git a/package/linux/linux.mk b/package/linux/linux.mk index 5d55ac9f7..c443e6552 100644 --- a/package/linux/linux.mk +++ b/package/linux/linux.mk @@ -59,6 +59,7 @@ $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked # copy binary drivers cp -a $(BUILD_DIR)/wl/*.o $(LINUX_DIR)/drivers/net/wl cp -a $(BUILD_DIR)/et/*.o $(LINUX_DIR)/drivers/net/et + $(SED) 's/@expr length/@-expr length/' $(LINUX_DIR)/Makefile touch $(LINUX_DIR)/.patched $(LINUX_DIR)/.configured: $(LINUX_DIR)/.patched @@ -94,8 +95,6 @@ $(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured $(TARGET_MODULES_DIR): -mkdir -p $(TARGET_MODULES_DIR) - cp $(LINUX_DIR)/drivers/net/wl/wl.o $(TARGET_MODULES_DIR) - cp $(LINUX_DIR)/drivers/net/et/et.o $(TARGET_MODULES_DIR) cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR) linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)