diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-06 00:59:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-06 00:59:28 +0000 |
commit | 102522e0cd6a46a3d9e8bf799371853159279627 (patch) | |
tree | 2336822a897c168a19f65ef6e6dcbedeca641b28 /package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch | |
parent | ec73574027f56ce42c2764010710ad49b7d462a3 (diff) | |
download | upstream-102522e0cd6a46a3d9e8bf799371853159279627.tar.gz upstream-102522e0cd6a46a3d9e8bf799371853159279627.tar.bz2 upstream-102522e0cd6a46a3d9e8bf799371853159279627.zip |
uboot-envtools: disable AES support, reduces code size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45615
Diffstat (limited to 'package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch')
-rw-r--r-- | package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch b/package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch index 05ec74ae68..b778e8a1ba 100644 --- a/package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch +++ b/package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch @@ -11,13 +11,15 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> --- a/tools/env/Makefile +++ b/tools/env/Makefile -@@ -24,6 +24,11 @@ ifeq ($(MTD_VERSION),old) +@@ -24,6 +24,13 @@ ifeq ($(MTD_VERSION),old) HOST_EXTRACFLAGS += -DMTD_OLD endif +ifeq ($(UBI),y) +HOST_EXTRACFLAGS += -DUBI +HOST_LOADLIBES = "-Wl,--gc-sections,-lubi-utils" ++else ++HOST_LOADLIBES = "-Wl,--gc-sections" +endif + always := fw_printenv |