[elbe-devel] [PATCH] debianize: add support for arm64

Manuel Traut manuel.traut at linutronix.de
Mon Nov 6 17:00:51 CET 2017


Hi Martin,

thanks - applied to devel/elbe-3.0

On Thu, Oct 05, 2017 at 11:00:39AM +0200, Martin Kaistra wrote:
> Signed-off-by: Martin Kaistra <martin.kaistra at linutronix.de>
> ---
>  elbepack/debianize/base.py                     | 2 +-
>  elbepack/makofiles/debianize/kernel/rules.mako | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/elbepack/debianize/base.py b/elbepack/debianize/base.py
> index 41349570..71948001 100644
> --- a/elbepack/debianize/base.py
> +++ b/elbepack/debianize/base.py
> @@ -54,7 +54,7 @@ class DebianizeBase (FormMultiPage):
>          self.deb = { }
>          self.tmpl_dir = None
>  
> -        self.archs = ["armhf", "armel", "amd64", "i386", "powerpc"]
> +        self.archs = ["arm64", "armhf", "armel", "amd64", "i386", "powerpc"]
>          self.formats = ["native", "git", "quilt"]
>          self.releases = ["stable", "oldstable", "testing", "unstable", "experimental"]
>  
> diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
> index 6515a15a..54c1645f 100755
> --- a/elbepack/makofiles/debianize/kernel/rules.mako
> +++ b/elbepack/makofiles/debianize/kernel/rules.mako
> @@ -56,7 +56,7 @@ override_dh_auto_configure:
>  override_dh_auto_build:
>  	rm -rf include/config
>  	$(MAKE) $(MAKE_OPTS) ${imgtype} modules
> -	test ${k_arch} = arm && make -j`nproc` $(MAKE_OPTS) dtbs || true
> +	(test ${k_arch} = arm || test ${k_arch} = arm64) && make -j`nproc` $(MAKE_OPTS) dtbs || true
>  
>  override_dh_auto_install:
>  	mkdir -p $(MOD_PATH) $(FW_PATH) $(HDR_PATH) $(KERNEL_PATH) $(DTBS_PATH)
> @@ -64,7 +64,7 @@ override_dh_auto_install:
>  	$(MAKE) $(MAKE_OPTS) INSTALL_MOD_STRIP=1 modules_install
>  	$(MAKE) $(MAKE_OPTS) firmware_install
>  	$(MAKE) $(MAKE_OPTS) headers_install
> -	test ${k_arch} = arm && make $(MAKE_OPTS) dtbs_install || true
> +	(test ${k_arch} = arm || test ${k_arch} = arm64) && make $(MAKE_OPTS) dtbs_install || true
>  	# Build kernel header package
>  	rm -f "$(TMP_DIR)/lib/modules/$(REL)/build" "$(TMP_DIR)/lib/modules/$(REL)/source"
>  	find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl > $(DEB_DIR)/hdrsrcfiles
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list