diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | rpmrc.in | 2 |
4 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 769bc28..f96323f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -99,6 +99,7 @@ edit = sed \ -e 's,@RPMOS\@,$(RPMOS),g' \ -e 's,@CANONTARGETCPU\@,$(CANONTARGETCPU),g' \ -e 's,@CANONTARGETGNU\@,$(CANONTARGETGNU),g' \ + -e 's,@ARMV7CANONTARGETCPU\@,$(ARMV7CANONTARGETCPU),g' \ -e 's,@RPMALLARCH\@,$(RPMALLARCH),g' \ -e 's,@DISTSUFFIX\@,$(DISTSUFFIX),g' @@ -1,3 +1,5 @@ +- use rtp's solution to build for armv5tl on armv5tl distro + Version 2.18 - 12 April 2016, by Pascal Terjan - add config for armv7hl diff --git a/configure.ac b/configure.ac index 69c7da5..2502a6c 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,7 @@ AC_CHECK_HEADERS([string.h]) CANONTARGETCPU=${target_cpu} CANONTARGETGNU=-gnu +ARMV7CANONTARGETCPU="armv5tl" case "${target_cpu}" in *86|athlon|k6|pentium*) @@ -96,12 +97,14 @@ case "${target_cpu}" in RPMALLARCH="armv7hl" CANONTARGETCPU=armv7hl CANONTARGETGNU=-gnueabi + ARMV7CANONTARGETCPU="armv7hl" esac RPMALLARCH="${RPMALLARCH} noarch" AC_SUBST(RPMALLARCH) AC_SUBST(CANONTARGETCPU) AC_SUBST(CANONTARGETCPU32) AC_SUBST(CANONTARGETGNU) +AC_SUBST(ARMV7CANONTARGETCPU) # # get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os @@ -105,7 +105,7 @@ buildarchtranslate: i386: i386 buildarchtranslate: armv5tel: armv5tl buildarchtranslate: armv5t: armv5t buildarchtranslate: armv7: armv5t -buildarchtranslate: armv7l: armv7hl +buildarchtranslate: armv7l: @ARMV7CANONTARGETCPU@ buildarchtranslate: armv7hl: armv7hl buildarchtranslate: armv7hnl: armv7hl |