lantiq: Allow PKG_ASLR_PIE for DSL and voice drivers
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Oct 2019 17:18:29 +0000 (18:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 Nov 2019 20:19:40 +0000 (21:19 +0100)
When ASLR_PIE was activated globally these drivers failed to build
because the user space LDFLAGS leaked into the kernel build process.
This was fixed in upstream Linux kernel commit ce99d0bf312d ("kbuild:
clear LDFLAGS in the top Makefile") which went into Linux 4.17. The
lantiq target is now on Linux 4.19 only and these exceptions are not
needed any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/lantiq/ltq-adsl/Makefile
package/kernel/lantiq/ltq-ifxos/Makefile
package/kernel/lantiq/ltq-tapi/Makefile
package/kernel/lantiq/ltq-vdsl-mei/Makefile
package/kernel/lantiq/ltq-vdsl/Makefile
package/kernel/lantiq/ltq-vmmc/Makefile
package/network/config/ltq-vdsl-app/Makefile

index 0fbda34ff98082f1f61be938e596a30f7072f6f0..e6817efffc012c72ba131cfa305cfbc476584121 100644 (file)
@@ -18,7 +18,6 @@ PKG_HASH:=eb2ed59715d3bf4e8a1460bbbe2f1660039e0a9f9d72afb1b2b16590094eb33c
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
 PKG_CHECK_FORMAT_SECURITY:=0
-PKG_ASLR_PIE:=0
 PKG_FIXUP:=autoreconf
 
 include $(INCLUDE_DIR)/package.mk
index 4771fda20a5fe02bf20a4798571d227c7a96f40b..4a368309d3f448ba3af26a8707890eaebe3d44e2 100644 (file)
@@ -17,7 +17,6 @@ PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_ASLR_PIE:=0
 PKG_FIXUP:=autoreconf
 
 include $(INCLUDE_DIR)/package.mk
index 171103350e236f94bcd22d22534c36e98e39c41a..072041c5897095b67989bd23431bd021ccfa34c0 100644 (file)
@@ -17,7 +17,6 @@ PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 PKG_HASH:=109374d52872716570fca3fef3b93c9a93159a804dfd42484b19152b825af5c0
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
-PKG_ASLR_PIE:=0
 PKG_CHECK_FORMAT_SECURITY:=0
 PKG_FIXUP:=autoreconf
 
index 9597de0072a4186d803be57bafdb465273e9d690..b8d75a8b2b5b890738cf2c7f1c30abca3ef3a2bf 100644 (file)
@@ -22,8 +22,6 @@ PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_ASLR_PIE:=0
-
 include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/ltq-vdsl-vr9-mei
index cf3711beb7e42134147865ef8184260821dbf4e0..d518bd647da4f053aeeeaab664e7cbe019d63f9e 100644 (file)
@@ -19,7 +19,6 @@ PKG_HASH:=b4966a60653acc49254b168c6cc9c49eb36c54548e763617788aa4f252a29f21
 PKG_LICENSE:=GPL-2.0 BSD-2-Clause
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_ASLR_PIE:=0
 PKG_FIXUP:=autoreconf
 
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
index e44b509b2e6e56396b55c736532bae288cc0d253..99263cce43311c1ca76d71559a8b36e8b8dbdde4 100644 (file)
@@ -17,7 +17,6 @@ PKG_HASH:=707f515eb727c032418c4da67d7e86884bb56cdc2a606e8f6ded6057d8767e57
 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 PKG_MAINTAINER:=John Crispin <john@phrozen.org>
 
-PKG_ASLR_PIE:=0
 PKG_CHECK_FORMAT_SECURITY:=0
 PKG_FIXUP:=autoreconf
 
index 198841977c4dae02acf99f724f9386d8f1b3ff35..670f720e2938ff312e2256cdd8d3f2f29c9b4b36 100644 (file)
@@ -19,7 +19,6 @@ PKG_LICENSE:=BSD-2-Clause
 
 PKG_BUILD_DEPENDS:=ltq-vdsl
 
-PKG_ASLR_PIE:=0
 PKG_FLAGS:=nonshared
 
 include $(INCLUDE_DIR)/package.mk