Author: jogo Date: 2015-03-30 22:20:10 +0200 (Mon, 30 Mar 2015) New Revision: 45163
Modified: trunk/target/linux/generic/image/relocate/Makefile Log: generic: relocate: make the cacheline size configurable Different targets have different cache line sizes. Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/target/linux/generic/image/relocate/Makefile =================================================================== --- trunk/target/linux/generic/image/relocate/Makefile 2015-03-30 20:20:08 UTC (rev 45162) +++ trunk/target/linux/generic/image/relocate/Makefile 2015-03-30 20:20:10 UTC (rev 45163) @@ -22,6 +22,7 @@ FLASH_OFFS := FLASH_MAX := PLATFORM := +CACHELINE_SIZE := 32 CC := $(CROSS_COMPILE)gcc LD := $(CROSS_COMPILE)ld @@ -36,7 +37,8 @@ -fno-common -ffreestanding -fhonour-copts \ -mabi=32 -march=mips32r2 \ -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap \ - -DCONFIG_CACHELINE_SIZE=32 -DKERNEL_ADDR=$(KERNEL_ADDR) + -DCONFIG_CACHELINE_SIZE=$(CACHELINE_SIZE) \ + -DKERNEL_ADDR=$(KERNEL_ADDR) ASFLAGS = $(CFLAGS) -D__ASSEMBLY__ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
