summaryrefslogtreecommitdiff
path: root/target/makedevs
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-07 20:30:43 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-07 20:30:43 +0000
commitee66f55213b1fd5a006e8638d524e490c9f65f3b (patch)
tree79a582b6718d15377af224e818304c73f5271c3b /target/makedevs
parentf333602f7309753302b61c8a2aa1e217d95121e4 (diff)
rework fakeroot handling to avoid races during parallel make causing several
fakeroot instances stomping eachother's temp files.
Diffstat (limited to 'target/makedevs')
-rw-r--r--target/makedevs/makedevs.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk
index 334f65fa2..620b0cdcd 100644
--- a/target/makedevs/makedevs.mk
+++ b/target/makedevs/makedevs.mk
@@ -13,17 +13,13 @@ $(MAKEDEVS_DIR)/makedevs.c: target/makedevs/makedevs.c
cp target/makedevs/makedevs.c $(MAKEDEVS_DIR)
$(MAKEDEVS_DIR)/makedevs: $(MAKEDEVS_DIR)/makedevs.c
- $(HOSTCC) -Wall -Werror -O2 $(MAKEDEVS_DIR)/makedevs.c -o $(MAKEDEVS_DIR)/makedevs
+ gcc -Wall -Werror -O2 $(MAKEDEVS_DIR)/makedevs.c -o $(MAKEDEVS_DIR)/makedevs
touch -c $(MAKEDEVS_DIR)/makedevs
$(STAGING_DIR)/bin/makedevs: $(MAKEDEVS_DIR)/makedevs
$(INSTALL) -m 755 $(MAKEDEVS_DIR)/makedevs $(STAGING_DIR)/bin/makedevs
touch -c $(STAGING_DIR)/bin/makedevs
-$(STAGING_DIR)/fakeroot.env:
- cat $(STAGING_DIR)/.fakeroot.* > $(STAGING_DIR)/fakeroot.env
- touch -c $(STAGING_DIR)/fakeroot.env
-
makedevs: $(STAGING_DIR)/bin/makedevs
makedevs-source: