diff options
author | Alexander Dahl <ada@thorsis.com> | 2018-01-31 15:57:30 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-01 11:56:10 +0100 |
commit | f2dad551d0eef1b06bdb0474121ad27cb7b8247e (patch) | |
tree | e8bfa69e5cdbe01add7e9fb79f4f45a1b123c8dd /rules/u-boot.make | |
parent | 9b905c8767804d83f467308dd051ce25bbb584fa (diff) | |
download | ptxdist-f2dad551d0eef1b06bdb0474121ad27cb7b8247e.tar.gz ptxdist-f2dad551d0eef1b06bdb0474121ad27cb7b8247e.tar.xz |
u-boot: Add wrapper blacklist
u-boot had the same problem as the other bootloaders (barebox,
at91bootstrap, …): much too big images were generated. Use the same
wrapper blacklist approach to prevent this like in barebox package.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/u-boot.make')
-rw-r--r-- | rules/u-boot.make | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/u-boot.make b/rules/u-boot.make index 6dd2e43a4..94aa77458 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -29,6 +29,13 @@ U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT) # Prepare # ---------------------------------------------------------------------------- +U_BOOT_WRAPPER_BLACKLIST := \ + TARGET_HARDEN_RELRO \ + TARGET_HARDEN_BINDNOW \ + TARGET_HARDEN_PIE \ + TARGET_DEBUG \ + TARGET_BUILD_ID + U_BOOT_PATH := PATH=$(CROSS_PATH) U_BOOT_MAKE_OPT := CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) HOSTCC=$(HOSTCC) U_BOOT_MAKE_PAR := NO |