From d53eec088e43eca8161c16adb56dde954141e2d5 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 28 Dec 2012 19:17:19 +0000 Subject: mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 61cdf0640..4f31aaf17 100644 --- a/include/target.mk +++ b/include/target.mk @@ -193,7 +193,7 @@ ifeq ($(DUMP),1) DEFAULT_CFLAGS_i386=-O2 -pipe -march=i486 -fno-caller-saves DEFAULT_CFLAGS_x86_64=-O2 -pipe -march=athlon64 -fno-caller-saves DEFAULT_CFLAGS_m68k=-Os -pipe -mcfv4e -fno-caller-saves - DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -fno-caller-saves + DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -fno-caller-saves -mno-branch-likely DEFAULT_CFLAGS_mipsel=$(DEFAULT_CFLAGS_mips) DEFAULT_CFLAGS_mips64=-Os -pipe -mips64 -mtune=mips64 -mabi=64 -fno-caller-saves DEFAULT_CFLAGS_mips64el=$(DEFAULT_CFLAGS_mips64) -- cgit v1.2.3 From 14e76acf76d3b152b9c443a6014c147058aad01b Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 5 Mar 2013 13:41:56 +0000 Subject: include: make firewall3 the default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35888 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 4f31aaf17..6d905ade2 100644 --- a/include/target.mk +++ b/include/target.mk @@ -14,7 +14,7 @@ DEVICE_TYPE?=router # Default packages - the really basic set DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg hotplug2 netifd # For router targets -DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall +DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall3 DEFAULT_PACKAGES.bootloader:= ifneq ($(DUMP),) -- cgit v1.2.3 From 2ada7d7db55cf4bf0eb7b306a2d3563426dc685d Mon Sep 17 00:00:00 2001 From: cyrus Date: Tue, 9 Apr 2013 08:02:55 +0000 Subject: Enable native IPv6 support by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36277 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 6d905ade2..107558218 100644 --- a/include/target.mk +++ b/include/target.mk @@ -14,7 +14,7 @@ DEVICE_TYPE?=router # Default packages - the really basic set DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg hotplug2 netifd # For router targets -DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall3 +DEFAULT_PACKAGES.router:=dnsmasq iptables ip6tables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall3 6relayd odhcp6c DEFAULT_PACKAGES.bootloader:= ifneq ($(DUMP),) -- cgit v1.2.3 From a89e0df213de469b6a6fb97312dba500c5acaec6 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 13 May 2013 15:04:58 +0000 Subject: build: add config symbols for different ARM arch levels Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36620 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 107558218..6774076f9 100644 --- a/include/target.mk +++ b/include/target.mk @@ -186,6 +186,7 @@ ifeq ($(DUMP),1) ifneq ($(CONFIG_RTC_CLASS),) FEATURES += rtc endif + FEATURES += $(foreach v,v4 v5 v6 v7,$(if $(findstring -march=arm$(v),$(CFLAGS)),arm_$(v))) # remove duplicates FEATURES:=$(sort $(FEATURES)) -- cgit v1.2.3 From b6f31939e939ac54b915bd6202083d38c4c57b75 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Thu, 13 Sep 2012 00:26:51 +0300 Subject: lexra platform support for build system Signed-off-by: Roman Yeryomin --- include/target.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/target.mk') diff --git a/include/target.mk b/include/target.mk index 6774076f9..9b2e2401a 100644 --- a/include/target.mk +++ b/include/target.mk @@ -107,7 +107,12 @@ ifneq ($(TARGET_BUILD)$(if $(DUMP),,1),) include $(INCLUDE_DIR)/kernel-version.mk endif + GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic +ifeq ($(CONFIG_TARGET_realtek),y) +# stop any generic kernel patches being applied +GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/not-generic +endif GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(if $(wildcard $(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") -- cgit v1.2.3