merge: targets: update image generation and targets

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
v19.07.3_mercusys_ac12_duma
Zoltan HERPAI 7 years ago committed by Felix Fietkau
parent bf5cef47b3
commit 7b5c989ab9

@ -7,7 +7,7 @@ define Build/uImage
mkimage -A $(LINUX_KARCH) \ mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \ -O linux -T kernel \
-C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION))' -d $@ $@.new -n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) OpenWrt Linux-$(LINUX_VERSION))' -d $@ $@.new
mv $@.new $@ mv $@.new $@
endef endef
@ -60,7 +60,7 @@ endef
define Build/netgear-dni define Build/netgear-dni
$(STAGING_DIR_HOST)/bin/mkdniimg \ $(STAGING_DIR_HOST)/bin/mkdniimg \
-B $(NETGEAR_BOARD_ID) -v LEDE.$(REVISION) \ -B $(NETGEAR_BOARD_ID) -v OpenWrt.$(REVISION) \
$(if $(NETGEAR_HW_ID),-H $(NETGEAR_HW_ID)) \ $(if $(NETGEAR_HW_ID),-H $(NETGEAR_HW_ID)) \
-r "$(1)" \ -r "$(1)" \
-i $@ -o $@.new -i $@ -o $@.new
@ -83,7 +83,7 @@ define Build/append-uImage-fakeroot-hdr
rm -f $@.fakeroot rm -f $@.fakeroot
$(STAGING_DIR_HOST)/bin/mkimage \ $(STAGING_DIR_HOST)/bin/mkimage \
-A $(LINUX_KARCH) -O linux -T filesystem -C none \ -A $(LINUX_KARCH) -O linux -T filesystem -C none \
-n '$(call toupper,$(LINUX_KARCH)) LEDE fakeroot' \ -n '$(call toupper,$(LINUX_KARCH)) OpenWrt fakeroot' \
-s \ -s \
$@.fakeroot $@.fakeroot
cat $@.fakeroot >> $@ cat $@.fakeroot >> $@

@ -136,7 +136,7 @@ endef
define Image/BuildKernel/MkuImage define Image/BuildKernel/MkuImage
mkimage -A $(ARCH) -O linux -T kernel -C $(1) -a $(2) -e $(3) \ mkimage -A $(ARCH) -O linux -T kernel -C $(1) -a $(2) -e $(3) \
-n '$(call toupper,$(ARCH)) LEDE Linux-$(LINUX_VERSION)' -d $(4) $(5) -n '$(call toupper,$(ARCH)) OpenWrt Linux-$(LINUX_VERSION)' -d $(4) $(5)
endef endef
define Image/BuildKernel/MkFIT define Image/BuildKernel/MkFIT

@ -12,7 +12,7 @@ PKG_VERSION:=2017.09
PKG_RELEASE:=1 PKG_RELEASE:=1
# Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit # Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit
# kernel/rootfs. Since LEDE could only provide 32-bit toolchain for 32-bit targets, # kernel/rootfs. Since OpenWrt could only provide 32-bit toolchain for 32-bit targets,
# 64-bit u-boot images git tree is provided here whose source code actually is # 64-bit u-boot images git tree is provided here whose source code actually is
# uboot-layerscape's source code. # uboot-layerscape's source code.
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git

@ -33,7 +33,7 @@ use Compress::Zlib;
my $version = "0.1"; my $version = "0.1";
my %arg = ( my %arg = (
o => 'bcm963xx_fs_kernel', o => 'bcm963xx_fs_kernel',
b => 'LEDE', b => 'OpenWrt',
c => '6348', c => '6348',
s => 64, s => 64,
f => 0xbfc00000, f => 0xbfc00000,

@ -107,8 +107,8 @@ Examples
$SELF malta le64 $SELF malta le64
$SELF malta be-glibc $SELF malta be-glibc
$SELF armvirt 32 \\ $SELF armvirt 32 \\
--kernel bin/targets/armvirt/32/lede-armvirt-32-zImage \\ --kernel bin/targets/armvirt/32/openwrt-armvirt-32-zImage \\
--rootfs bin/targets/armvirt/32/lede-armvirt-32-root.ext4 --rootfs bin/targets/armvirt/32/openwrt-armvirt-32-root.ext4
EOF EOF
} }
@ -158,12 +158,12 @@ start_qemu_armvirt() {
32) 32)
qemu_exe="qemu-system-arm" qemu_exe="qemu-system-arm"
cpu="cortex-a15" cpu="cortex-a15"
[ -n "$kernel" ] || kernel="$o_bindir/lede-$o_target-${o_subtarget%-*}-zImage-initramfs" [ -n "$kernel" ] || kernel="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-zImage-initramfs"
;; ;;
64) 64)
qemu_exe="qemu-system-aarch64" qemu_exe="qemu-system-aarch64"
cpu="cortex-a57" cpu="cortex-a57"
[ -n "$kernel" ] || kernel="$o_bindir/lede-$o_target-${o_subtarget%-*}-Image-initramfs" [ -n "$kernel" ] || kernel="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-Image-initramfs"
;; ;;
*) *)
__errmsg "target $o_target: unknown subtarget $o_subtarget" __errmsg "target $o_target: unknown subtarget $o_subtarget"
@ -199,7 +199,7 @@ start_qemu_malta() {
[ "$(echo "$o_subtarget" | grep -o '^..')" = "le" ] && isel="el" [ "$(echo "$o_subtarget" | grep -o '^..')" = "le" ] && isel="el"
qemu_exe="qemu-system-mips$is64$isel" qemu_exe="qemu-system-mips$is64$isel"
[ -n "$kernel" ] || kernel="$o_bindir/lede-malta-${o_subtarget%-*}-vmlinux-initramfs.elf" [ -n "$kernel" ] || kernel="$o_bindir/openwrt-malta-${o_subtarget%-*}-vmlinux-initramfs.elf"
# NOTE: order of wan, lan -device arguments matters as it will affect which # NOTE: order of wan, lan -device arguments matters as it will affect which
# one will be actually used as the wan, lan network interface inside the # one will be actually used as the wan, lan network interface inside the
@ -216,7 +216,7 @@ start_qemu_x86() {
local qemu_exe local qemu_exe
[ -n "$rootfs" ] || { [ -n "$rootfs" ] || {
rootfs="$o_bindir/lede-$o_target-${o_subtarget%-*}-combined-ext4.img" rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-combined-ext4.img"
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
gunzip "$rootfs.gz" gunzip "$rootfs.gz"
fi fi

@ -1,5 +1,5 @@
config IB config IB
bool "Build the LEDE Image Builder" bool "Build the OpenWrt Image Builder"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
default BUILDBOT default BUILDBOT
help help

@ -116,7 +116,7 @@ define Build/create-uImage-dtb
# flat_dt target expect FIT image - which WNDR4700's uboot doesn't support # flat_dt target expect FIT image - which WNDR4700's uboot doesn't support
-$(STAGING_DIR_HOST)/bin/mkimage -A $(LINUX_KARCH) \ -$(STAGING_DIR_HOST)/bin/mkimage -A $(LINUX_KARCH) \
-O linux -T kernel -C none \ -O linux -T kernel -C none \
-n '$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' \ -n '$(call toupper,$(LINUX_KARCH)) OpenWrt Linux-$(LINUX_VERSION)' \
-d $(IMAGE_KERNEL).dtb $@.new -d $(IMAGE_KERNEL).dtb $@.new
@mv $@.new $@ @mv $@.new $@
endef endef

@ -12,7 +12,7 @@ define Build/mkwrggimg
$(STAGING_DIR_HOST)/bin/mkwrggimg -b \ $(STAGING_DIR_HOST)/bin/mkwrggimg -b \
-i $@ -o $@.imghdr -d /dev/mtdblock/1 \ -i $@ -o $@.imghdr -d /dev/mtdblock/1 \
-m $(BOARDNAME) -s $(DAP_SIGNATURE) \ -m $(BOARDNAME) -s $(DAP_SIGNATURE) \
-v LEDE -B $(REVISION) -v OpenWrt -B $(REVISION)
mv $@.imghdr $@ mv $@.imghdr $@
endef endef
@ -66,7 +66,7 @@ define Build/uImageHiWiFi
mkimage -A $(LINUX_KARCH) \ mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \ -O linux -T kernel \
-C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n 'tw150v1 $(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new -n 'tw150v1 $(call toupper,$(LINUX_KARCH)) OpenWrt Linux-$(LINUX_VERSION)' -d $@ $@.new
@mv $@.new $@ @mv $@.new $@
endef endef

@ -485,11 +485,11 @@ define Image/Build/Belkin
$(eval rootsize=$(call mtdpartsize,rootfs,$(4))) $(eval rootsize=$(call mtdpartsize,rootfs,$(4)))
$(call Sysupgrade/RKuImage,$(1),$(2),$(kernsize),$(rootsize)) $(call Sysupgrade/RKuImage,$(1),$(2),$(kernsize),$(rootsize))
if [ -e "$(call sysupname,$(1),$(2))" ]; then \ if [ -e "$(call sysupname,$(1),$(2))" ]; then \
edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \ edimax_fw_header -m $(5) -v "$(shell echo -n OpenWrt$(REVISION) | cut -c -13)" \
-n "uImage" \ -n "uImage" \
-i $(KDIR_TMP)/vmlinux-$(2).uImage \ -i $(KDIR_TMP)/vmlinux-$(2).uImage \
-o $(KDIR_TMP)/$(2)-uImage; \ -o $(KDIR_TMP)/$(2)-uImage; \
edimax_fw_header -m $(5) -v "$(shell echo -n LEDE$(REVISION) | cut -c -13)" \ edimax_fw_header -m $(5) -v "$(shell echo -n OpenWrt$(REVISION) | cut -c -13)" \
-n "rootfs" \ -n "rootfs" \
-i $(KDIR)/root.$(1) \ -i $(KDIR)/root.$(1) \
-o $(KDIR_TMP)/$(2)-rootfs; \ -o $(KDIR_TMP)/$(2)-rootfs; \

@ -39,7 +39,7 @@ define Build/uImageArcher
mkimage -A $(LINUX_KARCH) \ mkimage -A $(LINUX_KARCH) \
-O linux -T kernel \ -O linux -T kernel \
-C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
-n '$(call toupper,$(LINUX_KARCH)) LEDE Linux-$(LINUX_VERSION)' -d $@ $@.new -n '$(call toupper,$(LINUX_KARCH)) OpenWrt Linux-$(LINUX_VERSION)' -d $@ $@.new
@mv $@.new $@ @mv $@.new $@
endef endef

@ -4,18 +4,18 @@ QEMU ARM virt machine.
Run with qemu-system-arm Run with qemu-system-arm
# boot with initramfs embedded in # boot with initramfs embedded in
qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-32-zImage-initramfs qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage-initramfs
# boot with accel=kvm # boot with accel=kvm
qemu-system-arm -nographic -M virt,accel=kvm -cpu host -m 64 -kernel qemu-system-arm -nographic -M virt,accel=kvm -cpu host -m 64 -kernel
lede-armvirt-32-zImage-initramfs openwrt-armvirt-32-zImage-initramfs
# boot with a separate rootfs # boot with a separate rootfs
qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-32-zImage \ qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage \
-drive file=lede-armvirt-32-root.ext4,format=raw,if=virtio -append 'root=/dev/vda rootwait' -drive file=openwrt-armvirt-32-root.ext4,format=raw,if=virtio -append 'root=/dev/vda rootwait'
# boot with local dir as rootfs # boot with local dir as rootfs
qemu-system-arm -nographic -M virt -m 64 -kernel lede-armvirt-32-zImage \ qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-32-zImage \
-fsdev local,id=rootdev,path=root-armvirt/,security_model=none \ -fsdev local,id=rootdev,path=root-armvirt/,security_model=none \
-device virtio-9p-pci,fsdev=rootdev,mount_tag=/dev/root \ -device virtio-9p-pci,fsdev=rootdev,mount_tag=/dev/root \
-append 'rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p' -append 'rootflags=trans=virtio,version=9p2000.L,cache=loose rootfstype=9p'
@ -23,10 +23,10 @@ Run with qemu-system-arm
Run with kvmtool Run with kvmtool
# start a named machine # start a named machine
lkvm run -k lede-armvirt-32-zImage -i lede-armvirt-32-rootfs.cpio --name armvirt0 lkvm run -k openwrt-armvirt-32-zImage -i openwrt-armvirt-32-rootfs.cpio --name armvirt0
# start with virtio-9p rootfs # start with virtio-9p rootfs
lkvm run -k lede-armvirt-32-zImage -d root-armvirt/ lkvm run -k openwrt-armvirt-32-zImage -d root-armvirt/
# stop "armvirt0" # stop "armvirt0"
lkvm stop --name armvirt0 lkvm stop --name armvirt0
@ -37,4 +37,4 @@ Run with kvmtool
The multi-platform ARMv8 target can be used with QEMU: The multi-platform ARMv8 target can be used with QEMU:
qemu-system-aarch64 -machine virt -cpu cortex-a57 -nographic \ qemu-system-aarch64 -machine virt -cpu cortex-a57 -nographic \
-kernel lede-armvirt-64-Image-initramfs \ -kernel openwrt-armvirt-64-Image-initramfs \

@ -978,7 +978,7 @@ define Device/NEUFBOX4-SER
DEVICE_DTS := nb4-ser-r0 DEVICE_DTS := nb4-ser-r0
CFE_BOARD_ID := 96358VW CFE_BOARD_ID := 96358VW
CFE_CHIP_ID := 6358 CFE_CHIP_ID := 6358
CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))" CFE_EXTRAS += --rsa-signature "OpenWrt-$(firstword $(subst -,$(space),$(REVISION)))"
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
$(B43_PACKAGES) $(USB2_PACKAGES) $(B43_PACKAGES) $(USB2_PACKAGES)
endef endef
@ -990,7 +990,7 @@ define Device/NEUFBOX4-FXC
DEVICE_DTS := nb4-fxc-r1 DEVICE_DTS := nb4-fxc-r1
CFE_BOARD_ID := 96358VW CFE_BOARD_ID := 96358VW
CFE_CHIP_ID := 6358 CFE_CHIP_ID := 6358
CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))" CFE_EXTRAS += --rsa-signature "OpenWrt-$(firstword $(subst -,$(space),$(REVISION)))"
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
$(B43_PACKAGES) $(USB2_PACKAGES) $(B43_PACKAGES) $(USB2_PACKAGES)
endef endef
@ -1002,7 +1002,7 @@ define Device/NEUFBOX6
DEVICE_DTS := nb6-ser-r0 DEVICE_DTS := nb6-ser-r0
CFE_BOARD_ID := NB6-SER-r0 CFE_BOARD_ID := NB6-SER-r0
CFE_CHIP_ID := 6362 CFE_CHIP_ID := 6362
CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))" CFE_EXTRAS += --rsa-signature "OpenWrt-$(firstword $(subst -,$(space),$(REVISION)))"
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
$(B43_PACKAGES) $(USB2_PACKAGES) $(B43_PACKAGES) $(USB2_PACKAGES)
endef endef

@ -39,7 +39,7 @@ endef
define Build/fullimage define Build/fullimage
mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \ mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \
-e 0x00 -n 'LEDE RootFS' \ -e 0x00 -n 'OpenWrt RootFS' \
-d $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).new -d $(IMAGE_ROOTFS) $(IMAGE_ROOTFS).new
cat $(IMAGE_KERNEL) $(IMAGE_ROOTFS).new > $@.tmp cat $(IMAGE_KERNEL) $(IMAGE_ROOTFS).new > $@.tmp

@ -20,7 +20,7 @@ UIMAGE:=$(BIN_DIR)/$(IMG_PREFIX)-uImage
define Image/Build/MkuImage define Image/Build/MkuImage
mkimage -A arm -O linux -T kernel -a $(LOADADDR) -C none -e $(LOADADDR) \ mkimage -A arm -O linux -T kernel -a $(LOADADDR) -C none -e $(LOADADDR) \
-n 'ARM LEDE Linux-$(LINUX_VERSION)' -d $(1) $(2); -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' -d $(1) $(2);
endef endef
define Image/Build/DTB define Image/Build/DTB

@ -9,8 +9,8 @@ setenv fdtfile armada-388-clearfog-base.dtb
# generate bootargs for rootfs on MMC # generate bootargs for rootfs on MMC
if test "${devtype}" = "mmc"; then if test "${devtype}" = "mmc"; then
setexpr lede_rootpart ${distro_bootpart} + 1 setexpr openwrt_rootpart ${distro_bootpart} + 1
setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${lede_rootpart} rootfstype=auto rootwait setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${openwrt_rootpart} rootfstype=auto rootwait
fi fi
# here one could add logic for other rootfs device types such as scsi and usb # here one could add logic for other rootfs device types such as scsi and usb

@ -5,8 +5,8 @@
# generate bootargs for rootfs on MMC # generate bootargs for rootfs on MMC
if test "${devtype}" = "mmc"; then if test "${devtype}" = "mmc"; then
setexpr lede_rootpart ${distro_bootpart} + 1 setexpr openwrt_rootpart ${distro_bootpart} + 1
setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${lede_rootpart} rootfstype=auto rootwait setenv bootargs ${bootargs} root=/dev/mmcblk${devnum}p${openwrt_rootpart} rootfstype=auto rootwait
fi fi
# here one could add logic for other rootfs device types such as scsi and usb # here one could add logic for other rootfs device types such as scsi and usb

@ -1,4 +1,4 @@
LEDE inside a user mode linux. Why would we even want this many ask? OpenWrt inside a user mode linux. Why would we even want this many ask?
There are potentially a lot of reasons, one obvious one to me, it allows There are potentially a lot of reasons, one obvious one to me, it allows
folks to 'kick the tires' without actually flashing up any hardware. It's folks to 'kick the tires' without actually flashing up any hardware. It's
@ -17,7 +17,8 @@ build it all
In your bin directory you will find a kernel and an ext4 root file system In your bin directory you will find a kernel and an ext4 root file system
when it's finished. Just run it like this:- when it's finished. Just run it like this:-
bin/targets/uml/generic/lede-uml-vmlinux ubd0=bin/targets/uml/generic/lede-uml-ext4.img bin/targets/uml/generic/lede-uml-vmlinux
ubd0=bin/targets/uml/generic/openwrt-uml-ext4.img
The uml will start, and eventually the serial console of the uml will be at your The uml will start, and eventually the serial console of the uml will be at your
console prompt. If you would like it in xterms, substitute con=xterm and con0=xterm. console prompt. If you would like it in xterms, substitute con=xterm and con0=xterm.

@ -5,6 +5,6 @@ set default="0"
set timeout="@TIMEOUT@" set timeout="@TIMEOUT@"
set root='(cd)' set root='(cd)'
menuentry "LEDE" { menuentry "OpenWrt" {
linux /boot/vmlinuz @CMDLINE@ noinitrd linux /boot/vmlinuz @CMDLINE@ noinitrd
} }

@ -5,9 +5,9 @@ set default="0"
set timeout="@TIMEOUT@" set timeout="@TIMEOUT@"
set root='(@ROOT@)' set root='(@ROOT@)'
menuentry "LEDE" { menuentry "OpenWrt" {
linux /boot/vmlinuz @CMDLINE@ noinitrd linux /boot/vmlinuz @CMDLINE@ noinitrd
} }
menuentry "LEDE (failsafe)" { menuentry "OpenWrt (failsafe)" {
linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
} }

@ -1,10 +1,10 @@
config SDK config SDK
bool "Build the LEDE SDK" bool "Build the OpenWrt SDK"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
default BUILDBOT default BUILDBOT
help help
This is essentially a stripped-down version of the buildroot This is essentially a stripped-down version of the buildroot
with a precompiled toolchain. It can be used to develop and with a precompiled toolchain. It can be used to develop and
test packages for LEDE before including them in the buildroot test packages for OpenWrt before including them in the buildroot

@ -1,7 +1,7 @@
This is the LEDE SDK. It contains a stripped-down version of This is the OpenWrt SDK. It contains a stripped-down version of
the buildroot. You can use it to test/develop packages without the buildroot. You can use it to test/develop packages without
having to compile your own toolchain or any of the libraries having to compile your own toolchain or any of the libraries
included with LEDE. included with OpenWrt.
To use it, just put your buildroot-compatible package directory To use it, just put your buildroot-compatible package directory
(including its dependencies) in the subdir 'package/' and run (including its dependencies) in the subdir 'package/' and run

@ -1,8 +1,8 @@
config MAKE_TOOLCHAIN config MAKE_TOOLCHAIN
bool "Package the LEDE-based Toolchain" bool "Package the OpenWrt-based Toolchain"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
help help
Package the created toolchain as a tarball under the bin/ directory as Package the created toolchain as a tarball under the bin/ directory as
LEDE-Toolchain-$(BOARD)-for-$(ARCH)$(ARCH_SUFFIX)-gcc-$(GCCV)$(DIR_SUFFIX). OpenWrt-Toolchain-$(BOARD)-for-$(ARCH)$(ARCH_SUFFIX)-gcc-$(GCCV)$(DIR_SUFFIX).
For example, a toolchain for the MIPS architecture might be named For example, a toolchain for the MIPS architecture might be named
LEDE-Toolchain-malta-for-mipsel_mips32-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2. OpenWrt-Toolchain-malta-for-mipsel_mips32-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2.

Loading…
Cancel
Save