From e33a0c1400d1d5bda65b6053e3fecbd3d79b3192 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 9 Jul 2006 04:54:00 +0000 Subject: prevent up circular deps by preventing both from being enabled concurrently --- package/modutils/Config.in | 1 + package/modutils/modutils.mk | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'package/modutils') diff --git a/package/modutils/Config.in b/package/modutils/Config.in index 581242ddc..7e9bdf814 100644 --- a/package/modutils/Config.in +++ b/package/modutils/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_MODUTILS bool "modutils" default n + depends on !BR2_PACKAGE_MODULE_INIT_TOOLS help The modutils packages includes the kerneld program for automatic loading and unloading of modules, as well as other module diff --git a/package/modutils/modutils.mk b/package/modutils/modutils.mk index dd0219ccf..b3e449259 100644 --- a/package/modutils/modutils.mk +++ b/package/modutils/modutils.mk @@ -40,12 +40,14 @@ $(MODUTILS_DIR1)/.configured: $(MODUTILS_DIR1)/.source touch $(MODUTILS_DIR1)/.configured; $(MODUTILS_DIR1)/$(MODUTILS_BINARY): $(MODUTILS_DIR1)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(MODUTILS_DIR1) + $(MAKE1) CC=$(TARGET_CC) -C $(MODUTILS_DIR1) + touch -c $(MODUTILS_DIR1)/$(MODUTILS_BINARY) $(TARGET_DIR)/$(MODUTILS_TARGET_BINARY): $(MODUTILS_DIR1)/$(MODUTILS_BINARY) STRIPPROG='$(STRIPPROG)' \ $(MAKE) prefix=$(TARGET_DIR) -C $(MODUTILS_DIR1) install-bin rm -Rf $(TARGET_DIR)/usr/man + touch -c $(TARGET_DIR)/$(MODUTILS_TARGET_BINARY) modutils: uclibc $(TARGET_DIR)/$(MODUTILS_TARGET_BINARY) @@ -89,10 +91,12 @@ $(MODUTILS_DIR2)/.configured: $(MODUTILS_DIR2)/.source touch $(MODUTILS_DIR2)/.configured; $(MODUTILS_DIR2)/$(MODUTILS_BINARY): $(MODUTILS_DIR2)/.configured - $(MAKE) -C $(MODUTILS_DIR2) + $(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 cross-depmod: uclibc $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-depmod -- cgit v1.2.3