On 16/07/2015 22:20, Matthias Schiffer wrote:
> -BOARDS:= \
> -     sun4i-a10-cubieboard \
> -     sun4i-a10-olinuxino-lime \
> -     sun4i-a10-pcduino \
> -     sun5i-a13-olinuxino \
> -     sun6i-a31-colombus \
> -     sun6i-a31-m9 \
> -     sun7i-a20-bananapi \
> -     sun7i-a20-bananapro \
> -     sun7i-a20-cubieboard2 \
> -     sun7i-a20-cubietruck \
> -     sun7i-a20-olinuxino-lime \
> -     sun7i-a20-olinuxino-micro \
> -     sun7i-a20-pcduino3 \
> -     sun7i-a20-lamobo-r1
> -
>  define Image/BuildKernel
>       mkimage -A arm -O linux -T kernel -C none \
>               -a 0x40008000 -e 0x40008000 \
>               -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' \
>               -d $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
> -     
> +
>      ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
>       $(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs
>       echo -ne '\x00\x00\x00\x00' >> $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs
> @@ -42,27 +26,23 @@ define Image/BuildKernel
>               $(BIN_DIR)/$(IMG_PREFIX)-uImage-initramfs \
>       )
>      endif
> -
> -     $(foreach board,$(BOARDS),
> -             $(CP) $(DTS_DIR)/$(board).dtb $(BIN_DIR)/
> -     )
>  endef

not sure about this change. maybe just stage the dtb file of the
selected profile. i am not sure if zoltan added this for a reason.

        John
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to