1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62
10 PKG_DESCR
:= runtime for the portable c compiler
11 PKG_SECTION
:= dev
/lang
12 PKG_URL
:= http
://pcc.ludd.ltu.se
/
13 PKG_SITES
:= http
://pcc.ludd.ltu.se
/ftp
/pub
/pcc-releases
/
15 PKG_CFLINE_PCC_LIBS
:= depends on ADK_BROKEN
17 PKG_ARCH_DEPENDS
:= !arm
!m68k
!mips
!ppc
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.tgz
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,PCC_LIBS
,pcc-libs
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CFLAGS
:= $(filter-out -fstack-protector
,$(TARGET_CFLAGS
))
25 # we cross-compile a native compiler for the target system
26 CONFIGURE_ARGS
+= --host
=${GNU_TARGET_NAME}
27 CONFIGURE_ARGS
+= --target
=${GNU_TARGET_NAME}
30 $(INSTALL_DIR
) $(IDIR_PCC_LIBS
)/usr
/bin
31 cd
${WRKINST} && cp
-r
* ${IDIR_PCC_LIBS}/
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk