DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [DistroKit] [PATCH 3/3] platform-rpi: platformconfig: some cleanup
Date: Fri, 26 Oct 2018 14:15:55 +0200	[thread overview]
Message-ID: <20181026121555.3722-4-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20181026121555.3722-1-m.olbrich@pengutronix.de>

- enable stack protector
- link with --as-needed
- don't add CONFIG_DEBUG_SECTION_MISMATCH=y to makevars
- don't create the ipkg index

All suggested by reason.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 configs/platform-rpi/platformconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configs/platform-rpi/platformconfig b/configs/platform-rpi/platformconfig
index e7380cd02b50..19a96ce41e91 100644
--- a/configs/platform-rpi/platformconfig
+++ b/configs/platform-rpi/platformconfig
@@ -76,9 +76,9 @@ PTXCONF_COMPILER_PREFIX_BOOTLOADER="${PTXCONF_COMPILER_PREFIX}"
 #
 # hardening options             
 #
-PTXCONF_TARGET_HARDEN_STACK_NONE=y
+# PTXCONF_TARGET_HARDEN_STACK_NONE is not set
 # PTXCONF_TARGET_HARDEN_STACK is not set
-# PTXCONF_TARGET_HARDEN_STACK_STRONG is not set
+PTXCONF_TARGET_HARDEN_STACK_STRONG=y
 # PTXCONF_TARGET_HARDEN_STACK_ALL is not set
 PTXCONF_TARGET_HARDEN_FORTIFY=y
 PTXCONF_TARGET_HARDEN_RELRO=y
@@ -92,7 +92,7 @@ PTXCONF_TARGET_HARDEN_PIE=y
 # PTXCONF_TARGET_LINKER_HASH_SYSV is not set
 PTXCONF_TARGET_LINKER_HASH_GNU=y
 # PTXCONF_TARGET_LINKER_HASH_BOTH is not set
-# PTXCONF_TARGET_LINKER_AS_NEEDED is not set
+PTXCONF_TARGET_LINKER_AS_NEEDED=y
 # PTXCONF_TARGET_DEBUG_OFF is not set
 PTXCONF_TARGET_DEBUG_KEEP=y
 # PTXCONF_TARGET_DEBUG_ENABLE is not set
@@ -136,7 +136,7 @@ PTXCONF_KERNEL_CONFIG="kernelconfig"
 #
 # Development features
 #
-PTXCONF_KERNEL_EXTRA_MAKEVARS="CONFIG_DEBUG_SECTION_MISMATCH=y"
+PTXCONF_KERNEL_EXTRA_MAKEVARS=""
 PTXCONF_DTC=y
 # PTXCONF_DTC_INSTALL_OFTREE is not set
 PTXCONF_DTC_OFTREE_DTS_PATH="${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts"
@@ -230,7 +230,7 @@ PTXCONF_IMAGE_ROOT_TGZ_LABEL=""
 #
 # PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY is not set
 # PTXCONF_IMAGE_INSTALL_FROM_IPKG_REPOSITORY is not set
-PTXCONF_IMAGE_IPKG_INDEX=y
+# PTXCONF_IMAGE_IPKG_INDEX is not set
 PTXCONF_IMAGE_XPKG_EXTRA_ARGS=""
 # PTXCONF_HOST_ACL is not set
 # PTXCONF_HOST_ATTR is not set
-- 
2.19.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2018-10-26 12:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26 12:15 [DistroKit] [PATCH 0/3] platform-rpi: various cleanups Michael Olbrich
2018-10-26 12:15 ` [DistroKit] [PATCH 1/3] platform-rpi: image-boot-vfat: add missing dependency Michael Olbrich
2018-10-26 12:15 ` [DistroKit] [PATCH 2/3] platform-rpi: platformconfig: building the kernel requires openssl Michael Olbrich
2018-10-26 12:15 ` Michael Olbrich [this message]
2018-10-26 13:29 ` [DistroKit] [PATCH 0/3] platform-rpi: various cleanups Robert Schwebel
2018-10-31 22:37   ` Roland Hieber
2018-11-01  9:42     ` Michael Olbrich
2018-11-01  9:55       ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181026121555.3722-4-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox