summaryrefslogtreecommitdiff
path: root/toolchain/mklibs/mklibs.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-04-17 04:45:33 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-25 09:56:30 +0200
commit290bbdb4aa1cb731390fabb35ad962cf15e7e7c2 (patch)
tree1f1e582de719dcf2e66573b8d765ba1edc91bed4 /toolchain/mklibs/mklibs.mk
parent792976053fcd13eb45bd1ee3ede7fe8bddcc2baa (diff)
mklibs: remove support
The support for mklibs has been marked broken since more than a year and nobody cared to bring it up to a working state. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/mklibs/mklibs.mk')
-rw-r--r--toolchain/mklibs/mklibs.mk49
1 files changed, 0 insertions, 49 deletions
diff --git a/toolchain/mklibs/mklibs.mk b/toolchain/mklibs/mklibs.mk
deleted file mode 100644
index 2dac98460..000000000
--- a/toolchain/mklibs/mklibs.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-######################################################################
-#
-# mklibs
-#
-######################################################################
-MKLIBS_PROGRAM:=$(STAGING_DIR)/bin/mklibs.py
-
-$(MKLIBS_PROGRAM): toolchain/mklibs/mklibs.py
- cp -dpf toolchain/mklibs/mklibs.py $@
-
-mklibs-clean:
- rm -f $(MKLIBS_PROGRAM)
-
-mklibs-dirclean:
- true
-
-#############################################################
-#
-# Run mklibs
-#
-#############################################################
-MKLIBS_PYTHON:=$(shell which python)
-ifeq ($(MKLIBS_PYTHON),)
- MKLIBS_PYTHON=/usr/bin/python
-endif
-
-$(STAGING_DIR)/mklibs-stamp: $(MKLIBS_PROGRAM) $(MKLIBS_PYTHON) $(STAGING_DIR)/lib/*
- find $(TARGET_DIR) -type f -perm +100 -exec \
- file -r -N -F '' {} + | \
- awk ' /executable.*dynamically/ { print $$1 }' > $(STAGING_DIR)/mklibs-progs
- cd $(TARGET_DIR); PATH=$(PATH):$(STAGING_DIR)/bin $(MKLIBS_PYTHON) $(MKLIBS_PROGRAM) \
- --target $(REAL_GNU_TARGET_NAME) --root $(STAGING_DIR) -d ./ \
- `cat $(STAGING_DIR)/mklibs-progs`
- touch $@
-
-# this empty target allows a mklibs dependeny to be included in the
-# target targets, but it will be only invoked if BR2_MKLIBS is conf'ed
-.PHONY: mklibs
-mklibs:
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-
-ifeq ($(BR2_MKLIBS),y)
-mklibs: $(STAGING_DIR)/mklibs-stamp
-endif