diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 22:59:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 22:59:29 +0200 |
commit | fb6cd4f4dff71a803ba9db7751ade84fa6eac3a8 (patch) | |
tree | 379626b7b419ac1643131a7b8ac07e9fb87b9f80 /package/libc/Makefile | |
parent | 5157a34410fe9eff94d5de7100cbc3659d6c4fcb (diff) | |
parent | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (diff) |
Merge branch 'master' of ssh://openadk.org/git/openadk
resolve conflicts
Conflicts:
mk/pkg-bottom.mk
package/ctorrent/Makefile
package/gcc/Makefile
package/gmp/Makefile
package/id3lib/Makefile
package/libelf/Makefile
package/libnl/patches/patch-include_netlink-local_h
package/mpd/Makefile
package/nmap/Makefile
package/rrs/Makefile
package/weechat/Makefile
scripts/rstrip.sh
target/Config.in
Diffstat (limited to 'package/libc/Makefile')
-rw-r--r-- | package/libc/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/libc/Makefile b/package/libc/Makefile new file mode 100644 index 000000000..a07967255 --- /dev/null +++ b/package/libc/Makefile @@ -0,0 +1,31 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= libc +PKG_VERSION:= 1.0 +PKG_RELEASE:= 1 +NO_DISTFILES:= 1 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBC,libc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +# do nothing, use native c library +do-install: + ${INSTALL_DIR} $(IDIR_LIBC)/lib $(IDIR_LIBC)/etc + # install /etc/localtime from host system (FIXME) + ${CP} /etc/localtime $(IDIR_LIBC)/etc + $(CP) /lib/libgcc_s.so.* $(IDIR_LIBC)/lib/ + $(CP) /lib/ld-*.so* $(IDIR_LIBC)/lib/ + -for file in libc libcrypt libdl libm libnsl libresolv librt libutil libnss_compat libnss_dns libnss_files; do \ + $(CP) /lib/$$file.so.* $(IDIR_LIBC)/lib/; \ + $(CP) /lib/$$file-*.so $(IDIR_LIBC)/lib/; \ + done + # create ld.so link for ldd + cd $(IDIR_LIBC)/lib && ln -sf ld-linux.so.2 ld.so + +include ${TOPDIR}/mk/pkg-bottom.mk |