From e72c70157d1102b1aa4d718178343535228b1aa2 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Thu, 29 Aug 2013 18:39:39 +0300 Subject: Fix subtargets, profiling and profiled image generation. Signed-off-by: Roman Yeryomin --- target/linux/realtek/image/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'target/linux/realtek/image') diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile index d0dc6ab7e..4fff911e1 100644 --- a/target/linux/realtek/image/Makefile +++ b/target/linux/realtek/image/Makefile @@ -10,8 +10,6 @@ include $(INCLUDE_DIR)/image.mk JFFS2_BLOCKSIZE=4k #OBJCOPY=$(TARGET_CROSS)objcopy -# define subtarget, should be replaced with $(SUBTARGET) when more chips will be introduced -STARGET=rtl8196c COMMA:=, define mkcmdline @@ -25,8 +23,8 @@ define Image/Prepare endef define Image/BuildKernel - $(call Image/BuildLoader,loader-$(STARGET),bin,$(call mkcmdline,$(PROFILE),ttyS0,38400) root=/dev/mtdblock2,${CONFIG_REALTEK_KERNEL_LOAD_ADDRESS},$(shell dd if=$(KDIR)/vmlinux.elf skip=24 bs=1 count=4 conv=swab 2>/dev/null | hexdump -v -e '"0x" 2/2 "%X"')) - cvimg linux $(KDIR)/loader-$(STARGET).bin \ + $(call Image/BuildLoader,loader-$(SUBTARGET),bin,$(call mkcmdline,$(PROFILE),ttyS0,38400) root=/dev/mtdblock2,${CONFIG_REALTEK_KERNEL_LOAD_ADDRESS},$(shell dd if=$(KDIR)/vmlinux.elf skip=24 bs=1 count=4 conv=swab 2>/dev/null | hexdump -v -e '"0x" 2/2 "%X"')) + cvimg linux $(KDIR)/loader-$(SUBTARGET).bin \ $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-kernel.bin \ ${CONFIG_REALTEK_KERNEL_LOAD_ADDRESS} \ ${CONFIG_REALTEK_KERNEL_OFFSET} -- cgit v1.2.3