Makefile 938 B

123456789101112131415161718192021222324252627282930313233343536
  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. ifeq ($(ADK_TARGET_LIB_GLIBC),y)
  5. include ${TOPDIR}/toolchain/glibc/Makefile.inc
  6. endif
  7. ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
  8. include ${TOPDIR}/toolchain/uclibc/Makefile.inc
  9. endif
  10. PKG_NAME:= libssp
  11. PKG_DESCR:= stack smashing protection library
  12. PKG_SECTION:= libs
  13. PKG_OPTS:= noremove
  14. NO_DISTFILES:= 1
  15. ifeq ($(ADK_STATIC),y)
  16. PKG_OPTS+= libonly
  17. endif
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBSSP,libssp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIG_STYLE:= manual
  21. BUILD_STYLE:= manual
  22. INSTALL_STYLE:= manual
  23. libssp-install:
  24. ${INSTALL_DIR} ${IDIR_LIBSSP}/$(ADK_TARGET_LIBC_PATH)
  25. ${CP} ${STAGING_TARGET_DIR}/lib/libssp.so* ${IDIR_LIBSSP}/$(ADK_TARGET_LIBC_PATH)
  26. include ${TOPDIR}/mk/pkg-bottom.mk