[source] mpc85xx: Enable initramfs for p1020 subtarget

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 13 16:25:50 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/a92f73e922e259fca4b357f402dd0bffe79f0bab

commit a92f73e922e259fca4b357f402dd0bffe79f0bab
Author: Chris Blake <chrisrblake93 at gmail.com>
AuthorDate: Sat Sep 30 11:13:35 2017 -0500

    mpc85xx: Enable initramfs for p1020 subtarget
    
    The following patch enables building of initramfs images by default for
    the P1020 subtarget in mpc85xx.
    
    Signed-off-by: Chris Blake <chrisrblake93 at gmail.com>
---
 config/Config-images.in              | 1 +
 target/linux/mpc85xx/p1020/target.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 55aff7d..6076591 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -17,6 +17,7 @@ menu "Target Images"
 			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx
 			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
 			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx
+			default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx
 			default TARGET_INITRAMFS_COMPRESSION_NONE
 			depends on TARGET_ROOTFS_INITRAMFS
 			help
diff --git a/target/linux/mpc85xx/p1020/target.mk b/target/linux/mpc85xx/p1020/target.mk
index c111d7a..5d84d83 100644
--- a/target/linux/mpc85xx/p1020/target.mk
+++ b/target/linux/mpc85xx/p1020/target.mk
@@ -1,6 +1,6 @@
 BOARDNAME:=P1020
+FEATURES += ramdisk
 
 define Target/Description
 	Build firmware images for Freescale P1020 based boards.
 endef
-



More information about the lede-commits mailing list