diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2002-10-08 22:21:28 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2002-10-08 22:21:28 +0000 |
commit | 79a790a53f60ff71cf5b77d7afe4ff3d7731edde (patch) | |
tree | 2971974be5dfa598beb355fc6b44061849f5d407 /Makefile | |
parent | 29d00ff0330e6ba6b1caf79410877a453d7fe8d1 (diff) |
Implemented 'romfs' target so that uClibc works with building uClinux.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -64,9 +64,20 @@ finished: shared @echo # -# dummy target for uClinux distro +# Target for uClinux distro # romfs: +ifeq ($(strip $(HAVE_SHARED)),true) + install -d $(ROMFSDIR)/lib + install -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ + $(ROMFSDIR)/lib + cp -a lib/*.so.* $(ROMFSDIR)/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 \ + $(ROMFSDIR)/lib; \ + fi; +endif headers: dummy rm -f include/asm; |