LINUX_KCONFIG=./linux.config
LINUX_PATCHES=./kernel-patches
LINUX_KERNEL_SOURCE=./kernel-source
LINUX_KCONFIG=./linux.config
LINUX_PATCHES=./kernel-patches
LINUX_KERNEL_SOURCE=./kernel-source
# Used by pcmcia-cs and others
LINUX_SOURCE_DIR=$(LINUX_DIR)-$(LINUX_VERSION)
# binary driver extracted from linksys firmware GPL sourcetree WRT54GS_3_37_2_1109_US
LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.1.tar.gz
# Used by pcmcia-cs and others
LINUX_SOURCE_DIR=$(LINUX_DIR)-$(LINUX_VERSION)
# binary driver extracted from linksys firmware GPL sourcetree WRT54GS_3_37_2_1109_US
LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.1.tar.gz
# 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
# 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
$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(LINUX_FORMAT)
$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done
$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(LINUX_FORMAT)
$(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install
touch $(LINUX_DIR)/.modules_done
$(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install
touch $(LINUX_DIR)/.modules_done
cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)
cp $(LINUX_DIR)/drivers/net/diag/diag.o $(TARGET_MODULES_DIR)
linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)