summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/Makefile')
-rw-r--r--target/linux/realtek/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/realtek/Makefile b/target/linux/realtek/Makefile
index b2d7fc865..436cfac90 100644
--- a/target/linux/realtek/Makefile
+++ b/target/linux/realtek/Makefile
@@ -10,6 +10,8 @@ ARCH:=lexra
BOARD:=realtek
BOARDNAME:=Realtek RTL8xxx
FEATURES:=squashfs jffs2
+SUBTARGETS:=rtl8196c rtl8196d
+CFLAGS:=-Os -pipe -fno-caller-saves -mno-llsc
LINUX_VERSION:=2.6.30.9
@@ -17,11 +19,7 @@ include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += librtk-inband hostapd-rtk wpa-supplicant-rtk kmod-gpio_rtl8196c \
wireless-tools
-DEFAULT_CFLAGS=-Os -pipe -fno-caller-saves -march=rlx4181
-define Target/Description
- Build firmware images for RTL8xxx based routers
-endef
define Kernel/CompileImage/Default
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init)