1
0

Makefile 796 B

123456789101112131415161718192021222324252627
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. include ${TOPDIR}/toolchain/libelf/Makefile.inc
  5. PKG_DESCR:= elf library
  6. PKG_SECTION:= libs
  7. PKG_SITES:= http://www.mr511.de/software/
  8. PKG_SUBPKGS:= LIBELF
  9. include ${TOPDIR}/mk/package.mk
  10. $(eval $(call PKG_template,LIBELF,libelf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  11. CONFIGURE_ENV+= mr_cv_target_elf=yes \
  12. ac_cv_sizeof_long_long=8
  13. CONFIGURE_ARGS+= --enable-elf64=yes \
  14. --disable-sanity-checks
  15. FAKE_FLAGS+= instroot="${WRKINST}"
  16. libelf-install:
  17. ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
  18. ${CP} ${WRKINST}/usr/lib/libelf.so* ${IDIR_LIBELF}/usr/lib/
  19. include ${TOPDIR}/mk/pkg-bottom.mk