From c9035566d53b3242d78691907b8dd07013a3c63d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sun, 1 Mar 2015 16:24:11 +0000 Subject: [PATCH] adm5120: enable low_mem MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Most devices have only 16 MiB of RAM, this will allow them to boot without OOM. Signed-off-by: Rafał Miłecki SVN-Revision: 44587 --- target/linux/adm5120/Makefile | 1 + target/linux/adm5120/rb1xx/target.mk | 2 +- target/linux/adm5120/router_be/target.mk | 2 +- target/linux/adm5120/router_le/target.mk | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index e58122db07..7298a24045 100644 --- a/target/linux/adm5120/Makefile +++ b/target/linux/adm5120/Makefile @@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk BOARD:=adm5120 BOARDNAME:=Infineon/ADMtek ADM5120 +FEATURES:=low_mem KERNEL_PATCHVER:=3.8 SUBTARGETS:=router_le router_be rb1xx INITRAMFS_EXTRA_FILES:= diff --git a/target/linux/adm5120/rb1xx/target.mk b/target/linux/adm5120/rb1xx/target.mk index 2e9b08e511..34d10a9649 100644 --- a/target/linux/adm5120/rb1xx/target.mk +++ b/target/linux/adm5120/rb1xx/target.mk @@ -2,7 +2,7 @@ ARCH:=mipsel ARCH_PACKAGES:=adm5120_mipsel SUBTARGET:=rb1xx BOARDNAME:=MikroTik RB-1xx boards -FEATURES:=tgz +FEATURES+=tgz define Target/Description Build firmware images for Mikrotik RB-1xx series. diff --git a/target/linux/adm5120/router_be/target.mk b/target/linux/adm5120/router_be/target.mk index 3777ccf1ca..9cbf00b3eb 100644 --- a/target/linux/adm5120/router_be/target.mk +++ b/target/linux/adm5120/router_be/target.mk @@ -2,7 +2,7 @@ ARCH:=mips ARCH_PACKAGES:=adm5120_mips SUBTARGET:=router_be BOARDNAME:=Big Endian -FEATURES:=squashfs +FEATURES+=squashfs define Target/Description Build firmware images for Infineon/ADMTek ADM5120 based boards diff --git a/target/linux/adm5120/router_le/target.mk b/target/linux/adm5120/router_le/target.mk index f4eac8b587..6847d00e14 100644 --- a/target/linux/adm5120/router_le/target.mk +++ b/target/linux/adm5120/router_le/target.mk @@ -2,7 +2,7 @@ ARCH:=mipsel ARCH_PACKAGES:=adm5120_mipsel SUBTARGET:=router_le BOARDNAME:=Little Endian -FEATURES:=squashfs tgz +FEATURES+=squashfs tgz define Target/Description Build firmware images for Infineon/ADMtek ADM5120 based boards -- 2.25.1