summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/Makefile
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-08-21 15:45:59 +0300
committerArtur Artamonov <freeartman@wechall.net>2013-08-21 15:45:59 +0300
commite0d69d7d48e3c3a0c4ec01d115bbff3463855246 (patch)
treeea273e1e42863031b3d838798ebd84d6f5ef5a24 /target/linux/realtek/Makefile
parent4ed5985ada0f0420d69d7d959ecc3c9c8515efa0 (diff)
[realtek] added 2 subtargets
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)