aboutsummaryrefslogtreecommitdiff
path: root/package/modutils/modutils.mk
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2006-12-13 11:01:54 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2006-12-13 11:01:54 +0000
commited44d383161b258e442551b1acd40300de905954 (patch)
tree05912af282b1b84eb872905c5feaa7d41ebfbf14 /package/modutils/modutils.mk
parentd310a7f3bd8796af90c173ff8a0b640788c17695 (diff)
downloadbuildroot-ed44d383161b258e442551b1acd40300de905954.tar.gz
buildroot-ed44d383161b258e442551b1acd40300de905954.tar.bz2
update paths
Diffstat (limited to 'package/modutils/modutils.mk')
-rw-r--r--package/modutils/modutils.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/modutils/modutils.mk b/package/modutils/modutils.mk
index 9d2a8f6bfc..30d5d45944 100644
--- a/package/modutils/modutils.mk
+++ b/package/modutils/modutils.mk
@@ -95,11 +95,12 @@ $(MODUTILS_DIR2)/$(MODUTILS_BINARY): $(MODUTILS_DIR2)/.configured
$(MAKE1) -C $(MODUTILS_DIR2)
touch -c $(MODUTILS_DIR2)/$(MODUTILS_BINARY)
-$(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod: $(MODUTILS_DIR2)/$(MODUTILS_BINARY)
- cp $(MODUTILS_DIR2)/$(MODUTILS_BINARY) $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod
- touch -c $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod
+$(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod: $(MODUTILS_DIR2)/$(MODUTILS_BINARY)
+ mkdir -p $(STAGING_DIR)/bin
+ cp $(MODUTILS_DIR2)/$(MODUTILS_BINARY) $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod
+ touch -c $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod
-cross-depmod: uclibc $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod
+cross-depmod: uclibc $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod
cross-depmod-source: $(DL_DIR)/$(MODUTILS_SOURCE)