# system, use the "install_target" target instead...
install_runtime:
ifeq ($(strip $(HAVE_SHARED)),y)
- $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)/lib
- $(INSTALL) -d $(PREFIX)$(DEVEL_PREFIX)/bin
+ $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)/lib
+ $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)/bin
$(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- $(PREFIX)$(DEVEL_PREFIX)/lib
- cp -fa lib/*.so.* $(PREFIX)$(DEVEL_PREFIX)/lib
+ $(PREFIX)$(RUNTIME_PREFIX)/lib
+ cp -fa lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)/lib
@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
set -x -e; \
$(INSTALL) -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- $(PREFIX)$(DEVEL_PREFIX)/lib; \
+ $(PREFIX)$(RUNTIME_PREFIX)/lib; \
fi;
- #@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
- # $(INSTALL) -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
- # $(LN) -sf $(PREFIX)$(DEVEL_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- # $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO); \
- #fi;
endif
install_toolchain:
$(INSTALL) -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(TARGET_PREFIX)/lib; \
fi;
- #@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
- # $(INSTALL) -d $(PREFIX)$(SHARED_LIB_LOADER_PATH); \
- # $(LN) -sf $(PREFIX)$(TARGET_PREFIX)/lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
- # $(PREFIX)$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO); \
- #fi;
endif
install_target_utils:
sitting in the directory this points to, your binaries will not
run.
+config RUNTIME_PREFIX
+ string "uClibc runtime library directory"
+ default "/usr/$(TARGET_ARCH)-linux-uclibc"
+ help
+ RUNTIME_PREFIX is the directory into which the uClibc runtime
+ libraries will be installed. The result will look something
+ like the following:
+ $(RUNTIME_PREFIX)/
+ lib/ <contains all runtime libraries>
+ This value is used by the 'make install' Makefile target. Since this
+ directory is compiled into the uclibc cross compiler wrapper, you
+ have to recompile uClibc if you change this value...
+
config DEVEL_PREFIX
string "uClibc development environment directory"
default "/usr/$(TARGET_ARCH)-linux-uclibc"
environment will be installed. The result will look something
like the following:
$(DEVEL_PREFIX)/
- lib/ <contains all runtime and static libs>
+ lib/ <contains static libs>
include/ <Where all the header files go>
This value is used by the 'make install' Makefile target. Since this
directory is compiled into the uclibc cross compiler wrapper, you