Commit 290bbdb4 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 79297605
Loading
Loading
Loading
Loading

toolchain/mklibs/Config.in

deleted100644 → 0
+0 −6
Original line number Diff line number Diff line
config BR2_MKLIBS
	bool "Run mklibs on the built root filesystem"
	depends on BROKEN
	help
	  Recompiles all the shared libraries to only include the
	  symbols actually needed to run the binaries on the target

toolchain/mklibs/mklibs.mk

deleted100644 → 0
+0 −49
Original line number Diff line number Diff line
######################################################################
#
# 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

toolchain/mklibs/mklibs.py

deleted100644 → 0
+0 −597

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −1
Original line number Diff line number Diff line
@@ -4,5 +4,4 @@ include toolchain/elf2flt/elf2flt.mk
include toolchain/gcc/gcc-uclibc-4.x.mk
include toolchain/gdb/gdb.mk
include toolchain/kernel-headers/kernel-headers.mk
include toolchain/mklibs/mklibs.mk
include toolchain/uClibc/uclibc.mk
+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ choice
endchoice

source "toolchain/elf2flt/Config.in"
source "toolchain/mklibs/Config.in"

config BR2_VFP_FLOAT
	bool "Use ARM Vector Floating Point unit"
Loading