1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= pcc-libs
  5. PKG_VERSION:= 1.0.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62
  8. PKG_DESCR:= runtime for the portable c compiler
  9. PKG_SECTION:= dev/lang
  10. PKG_URL:= http://pcc.ludd.ltu.se/
  11. PKG_SITES:= http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
  12. PKG_CFLINE_PCC_LIBS:= depends on ADK_BROKEN
  13. PKG_ARCH_DEPENDS:= !arm !m68k !mips !ppc
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PCC_LIBS,pcc-libs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
  18. # we cross-compile a native compiler for the target system
  19. CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
  20. CONFIGURE_ARGS+= --target=${GNU_TARGET_NAME}
  21. pcc-libs-install:
  22. $(INSTALL_DIR) $(IDIR_PCC_LIBS)/usr/bin
  23. cd ${WRKINST} && cp -r * ${IDIR_PCC_LIBS}/
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk