diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-04-12 00:33:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-04-12 00:33:42 +0000 |
commit | 8cf5026c6a33c9ffa1a297c3c4fb51913e70ef2a (patch) | |
tree | ea73d7681737fdbf69ea66da55e4f2ac9990a870 /target/device/AMD/DBAu1500/linux.mk | |
parent | 233d05fb17e12944f7801d132ab80317a7d01f2a (diff) |
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/AMD/DBAu1500/linux.mk')
-rw-r--r-- | target/device/AMD/DBAu1500/linux.mk | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/target/device/AMD/DBAu1500/linux.mk b/target/device/AMD/DBAu1500/linux.mk index 337ca3650..b862f265a 100644 --- a/target/device/AMD/DBAu1500/linux.mk +++ b/target/device/AMD/DBAu1500/linux.mk @@ -24,7 +24,7 @@ ifneq ($(filter $(TARGETS),linux),) # Base version of Linux kernel that we need to download DOWNLOAD_LINUX_VERSION=2.6.16 # Version of Linux kernel AFTER applying all patches -LINUX_VERSION=2.6.16-erik +LINUX_VERSION=2.6.16.4-erik # File name for the Linux kernel binary @@ -100,17 +100,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 .) - $(ALCHEMY_DBAU1500_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 |