diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-06-09 11:11:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-06-09 11:11:10 +0000 |
commit | 611ec0e3b16219c1987f2aca065ddec22bd84cc9 (patch) | |
tree | fbf5de90ba2477db9d20c812ef112776682bd157 /target/makedevs/makedevs.mk | |
parent | 246d05c71814207a747349b22ab310fa4c91f270 (diff) | |
download | buildroot-novena-611ec0e3b16219c1987f2aca065ddec22bd84cc9.tar.gz buildroot-novena-611ec0e3b16219c1987f2aca065ddec22bd84cc9.zip |
Add a standalone makedevs application to be used along with
fakeroot to construct target device nodes for filesystems
and utilities (such as tar) that do not currently support
device tables natively.
Diffstat (limited to 'target/makedevs/makedevs.mk')
-rw-r--r-- | target/makedevs/makedevs.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk new file mode 100644 index 000000000..f8675db2f --- /dev/null +++ b/target/makedevs/makedevs.mk @@ -0,0 +1,27 @@ +############################################################# +# +# build makedevs to run on the build system, in order to create +# device nodes and whatnot for the target device, in conjunction +# with fakeroot. +# +############################################################# +MAKEDEVS_DIR=$(BUILD_DIR)/makedevs + +$(MAKEDEVS_DIR)/makedevs.c: + mkdir $(MAKEDEVS_DIR) + cp target/makedevs/makedevs.c $(MAKEDEVS_DIR) + +$(MAKEDEVS_DIR)/makedevs: $(MAKEDEVS_DIR) + gcc -Wall -O2 makedevs.c -o makedevs + touch -c $(MAKEDEVS_DIR)/makedevs + +makedevs: $(MAKEDEVS_DIR)/makedevs + +makedevs-source: + +makedevs-clean: + -rm -rf $(MAKEDEVS_DIR) + +makedevs-dirclean: + rm -rf $(MAKEDEVS_DIR) + |