summaryrefslogtreecommitdiff
path: root/toolchain/libiconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/libiconv/Makefile')
-rw-r--r--toolchain/libiconv/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/toolchain/libiconv/Makefile b/toolchain/libiconv/Makefile
new file mode 100644
index 000000000..8da551437
--- /dev/null
+++ b/toolchain/libiconv/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+include Makefile.inc
+include ../rules.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
+
+$(WRKBUILD)/.configured:
+ (cd $(WRKBUILD); \
+ $(WRKBUILD)/configure \
+ --prefix=$(STAGING_HOST_DIR)/usr \
+ );
+ touch $@
+
+$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
+ $(MAKE) ${MPC_MAKEOPTS} -C $(WRKBUILD) all
+ touch $@
+
+$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
+ $(MAKE) -C $(WRKBUILD) install
+ touch $@
+
+include ${ADK_TOPDIR}/mk/toolchain.mk