[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745349: Basic arm64 kernel



On Sun, 2014-04-20 at 20:50 +0100, Ian Campbell wrote:
[...]
> --- a/linux/debian/config/arm64/defines
> +++ b/linux/debian/config/arm64/defines
> @@ -1,4 +1,18 @@
>  [base]
>  kernel-arch: arm64
>  featuresets:
> -# empty; we don't have initramfs working yet
> + none
> +
> +[build]
> +debug-info: true
> +
> +[image]
> +configs:
> +image-file: arch/arm64/boot/Image
> +
> +[arm64_description]
> +hardware: 64-bit ARMv8 machines
> +
> +[arm64_image]
> +configs:
> + arm64/config

You shouldn't need to specify the config files at all.

[...]
> --- a/linux/debian/rules.real
> +++ b/linux/debian/rules.real
> @@ -385,6 +385,14 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image:
>         done
>  endif
>  
> +install-image_arm64_$(FEATURESET)_$(FLAVOUR)_plain_image: DTB_INSTALL_DIR = /usr/lib/linux-image-$(REAL_VERSION)
> +install-image_arm64_$(FEATURESET)_$(FLAVOUR)_plain_image:
> +       install -m644 '$(DIR)/arch/$(KERNEL_ARCH)/boot/Image' $(INSTALL_DIR)/vmlinuz-$(REAL_VERSION)
> +       +$(MAKE_CLEAN) -C $(DIR) dtbs
> +       shopt -s nullglob ; for i in $(DIR)/arch/arm64/boot/dts/*.dtb ; do \
> +               install -D -m644 $$i '$(PACKAGE_DIR)'/'$(DTB_INSTALL_DIR)'/$$(basename $$i) ; \
> +       done

This looks just the same as for armel and armhf... except using Image
instead of zImage.  Let me see what I can do to clean up these per-arch
rules so this duplication isn't needed.

Ben.

-- 
Ben Hutchings
Make three consecutive correct guesses and you will be considered an expert.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: