[LEDE-DEV] [PATCH 0/3] busybox Makefile improvements (fix hardening)

Matthias Schiffer mschiffer at universe-factory.net
Sun Dec 10 09:36:48 PST 2017


When streamlining our busybox Makefile a bit, I noticed that we don't
properly pass TARGET_CPPFLAGS and TARGET_LDFLAGS. This is fixed in patch
3/3, which unfortunately increases the binary size by a bit (see commit
message for details).

I think applying the patch makes sense, so the hardening is applied as
intended, and as it is done for the other packages. Do we have any numbers
how much hardening usually increases binary sizes?

Regrads,
Matthias


Matthias Schiffer (3):
  include/package.mk: remove old configured stamps before attempting
    configuration
  busybox: streamline Makefile
  busybox: add missing TARGET_CPPFLAGS and TARGET_LDFLAGS

 include/package.mk             |  2 +-
 package/utils/busybox/Makefile | 70 ++++++++++++------------------------------
 2 files changed, 20 insertions(+), 52 deletions(-)

-- 
2.15.1




More information about the Lede-dev mailing list