From bab3768e8f0271d33066d9e6ee119b4e01465755 Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Sun, 24 Jul 2016 17:02:59 -0400 Subject: [PATCH] De-bashify Makefile.am, fixup build instructions (you need libtool) --- Makefile.am | 6 ++++-- README.md | 5 +++-- configure.ac | 6 ++++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 274407c..7b893a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,8 +8,10 @@ install: all-local: mkdir -p out mkdir -p out@prefix@ - mkdir -p out@libdir@/{module,firmware} - mkdir -p out@datarootdir@/{keys,locale/emu} + mkdir -p out@libdir@/module + mkdir -p out@libdir@/firmware + mkdir -p out@datarootdir@/keys + mkdir -p out@datarootdir@/locale/emu mkdir -p out@bindir@ mkdir -p out@sbindir@ mkdir -p out@prefix@/boot diff --git a/README.md b/README.md index 380b4e8..8ca5167 100644 --- a/README.md +++ b/README.md @@ -146,8 +146,9 @@ You will need at minimum the following: * devkitARM * ctrulib (from git) * Host gcc (as in a native system compiler) - * Python2 - * Autotools (as in, automake/autoconf) + * Python 2.7 (for patches) + * Autotools (as in, automake/autoconf - mandatory) + * libtool (expect weird link errors if this is missing) Briefly; the following commands are enough to build, assuming devkitarm is in your `PATH`: diff --git a/configure.ac b/configure.ac index 3f1327c..82f672b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([Corbenik], [0.1.2], [https://github.com/chaoskagami/corbenik], []) +AC_INIT([Corbenik], [0.1.2], [https://github.com/chaoskagami/corbenik], [corbenik]) AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz subdir-objects]) AC_CONFIG_MACRO_DIRS([m4]) @@ -6,14 +6,16 @@ AC_CONFIG_MACRO_DIRS([m4]) # Find AR and RANLIB for lto support before initializing libtool AC_CHECK_TOOL([AR],gcc-ar) AC_CHECK_TOOL([RANLIB],gcc-ranlib) -LT_INIT AC_PROG_SED AC_PROG_CC AC_PROG_CXX AM_PROG_AS + AC_CHECK_TOOL([OBJCOPY],objcopy) +LT_INIT + AC_ARG_ENABLE([chainloader], AS_HELP_STRING([--disable-chainloader], [Disable chainloading of external programs])) -- 2.39.5