|
|
@ -112,7 +112,8 @@ $(D)/kernel-armbox: $(D)/kernel.do_compile |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
kernel-modules-coolstream: kernel-modules-coolstream-$(BOXSERIES) |
|
|
|
$(D)/kernel-modules-coolstream: $(D)/kernel-modules-coolstream-$(BOXSERIES) |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
STRIP-MODULES-COOLSTREAM-HD1 = |
|
|
|
STRIP-MODULES-COOLSTREAM-HD1 += kernel/drivers/mtd/devices/mtdram.ko |
|
|
@ -126,28 +127,31 @@ STRIP-MODULES-COOLSTREAM-HD1 += kernel/fs/autofs4/autofs4.ko |
|
|
|
STRIP-MODULES-COOLSTREAM-HD1 += kernel/fs/cifs/cifs.ko |
|
|
|
STRIP-MODULES-COOLSTREAM-HD1 += kernel/fs/fuse/fuse.ko |
|
|
|
|
|
|
|
kernel-modules-coolstream-hd1: kernel-coolstream |
|
|
|
$(D)/kernel-modules-coolstream-hd1: $(D)/kernel-coolstream |
|
|
|
for module in $(STRIP-MODULES-COOLSTREAM-HD1); do \
|
|
|
|
mkdir -p $(TARGET_MODULES_DIR)/$$(dirname "$$module"); \
|
|
|
|
$(TARGET)-objcopy --strip-unneeded $(KERNEL_MODULES_DIR)/$$module $(TARGET_MODULES_DIR)/$$module; \
|
|
|
|
done; |
|
|
|
rm -f $(TARGET_MODULES_DIR)/usb-storage.ko # already builtin |
|
|
|
make depmod |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
kernel-modules-coolstream-hd2: kernel-coolstream |
|
|
|
$(D)/kernel-modules-coolstream-hd2: $(D)/kernel-coolstream |
|
|
|
rm -rf $(TARGET_MODULES_DIR)/kernel # nuke coolstream kernel-drivers but leave coolstream extra-drivers |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/kernel $(TARGET_MODULES_DIR) # copy own kernel-drivers |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/modules.builtin $(TARGET_MODULES_DIR) |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/modules.order $(TARGET_MODULES_DIR) |
|
|
|
make depmod |
|
|
|
make rtl8192eu |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
kernel-modules-armbox: kernel-armbox |
|
|
|
$(D)/kernel-modules-armbox: $(D)/kernel-armbox |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/kernel $(TARGET_MODULES_DIR) |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/modules.builtin $(TARGET_MODULES_DIR) |
|
|
|
cp -a $(KERNEL_MODULES_DIR)/modules.order $(TARGET_MODULES_DIR) |
|
|
|
make depmod |
|
|
|
make rtl8192eu |
|
|
|
$(TOUCH) |
|
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|