|
@@ -22,19 +22,17 @@ include $(TOPDIR)/mk/package.mk
|
|
$(eval $(call PKG_template,PCC,pcc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
|
|
$(eval $(call PKG_template,PCC,pcc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
|
|
|
|
|
|
# we cross-compile a native compiler for the target system
|
|
# we cross-compile a native compiler for the target system
|
|
-CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
|
|
+CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME} \
|
|
-CONFIGURE_ARGS+= --target=${GNU_TARGET_NAME}
|
|
+ --target=${GNU_TARGET_NAME} \
|
|
-CONFIGURE_ARGS+= --with-assembler=/usr/bin/as
|
|
+ --with-assembler=/usr/bin/as \
|
|
-CONFIGURE_ARGS+= --with-linker=/usr/bin/ld
|
|
+ --with-linker=/usr/bin/ld
|
|
|
|
|
|
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
|
|
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
|
|
TARGET_CPPFLAGS+= -DADK_FOR_GLIBC
|
|
TARGET_CPPFLAGS+= -DADK_FOR_GLIBC
|
|
-else
|
|
+endif
|
|
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
|
|
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
|
|
TARGET_CPPFLAGS+= -DADK_FOR_UCLIBC
|
|
TARGET_CPPFLAGS+= -DADK_FOR_UCLIBC
|
|
endif
|
|
endif
|
|
-endif
|
|
|
|
-endif
|
|
|
|
|
|
|
|
pcc-install:
|
|
pcc-install:
|
|
$(INSTALL_DIR) $(IDIR_PCC)
|
|
$(INSTALL_DIR) $(IDIR_PCC)
|