summaryrefslogtreecommitdiffstats
path: root/target/device/jp/q5/linux.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-12 00:33:42 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-12 00:33:42 +0000
commit8cf5026c6a33c9ffa1a297c3c4fb51913e70ef2a (patch)
treeea73d7681737fdbf69ea66da55e4f2ac9990a870 /target/device/jp/q5/linux.mk
parent233d05fb17e12944f7801d132ab80317a7d01f2a (diff)
downloadbuildroot-novena-8cf5026c6a33c9ffa1a297c3c4fb51913e70ef2a.tar.gz
buildroot-novena-8cf5026c6a33c9ffa1a297c3c4fb51913e70ef2a.zip
dont use depmod.pl, use cross depmod which I made work properly a while back.
Apply latest stable kernel patch
Diffstat (limited to 'target/device/jp/q5/linux.mk')
-rw-r--r--target/device/jp/q5/linux.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/target/device/jp/q5/linux.mk b/target/device/jp/q5/linux.mk
index 127db1ae9..ef71502c9 100644
--- a/target/device/jp/q5/linux.mk
+++ b/target/device/jp/q5/linux.mk
@@ -101,17 +101,12 @@ $(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC)
$(KERNEL_CROSS)objcopy -O srec $(LINUX_DIR)/$(LINUX_BINLOC) $(LINUX_KERNEL)
touch -c $(LINUX_KERNEL)
-$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep: $(LINUX_KERNEL)
+$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep: $(LINUX_KERNEL) cross-depmod
rm -rf $(TARGET_DIR)/lib/modules
rm -f $(TARGET_DIR)/sbin/cardmgr
- $(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) DEPMOD=`which true` \
+ $(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) \
+ DEPMOD=DEPMOD=$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod \
INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
- (cd $(TARGET_DIR)/lib/modules; ln -s $(LINUX_VERSION)/kernel/drivers .)
- $(JP_Q5_PATH)/depmod.pl \
- -b $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/ \
- -k $(LINUX_DIR)/vmlinux \
- -F $(LINUX_DIR)/System.map \
- > $(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/modules.dep
$(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
mkdir -p $(STAGING_DIR)/include