Author: jcrouse Date: 2008-09-18 18:30:48 +0200 (Thu, 18 Sep 2008) New Revision: 228
Modified: buildrom-devel/Makefile buildrom-devel/packages/memtest/memtest.mk Log:
buildrom: Fix makefile flags and other issues affecting memtest
memtest depends on implicit makefile rules, so remove -rR from the MAKEFLAGS and stick the $(STACKPROTECT) variable into the CC variable.
Signed-off-by: Jordan Crouse jordan.crouse@amd.com Acked-by: Jordan Crouse jordan.crouse@amd.com
Modified: buildrom-devel/Makefile =================================================================== --- buildrom-devel/Makefile 2008-09-18 16:29:48 UTC (rev 227) +++ buildrom-devel/Makefile 2008-09-18 16:30:48 UTC (rev 228) @@ -11,7 +11,7 @@ CONFIG_SHELL := sh KBUILD_DEFCONFIG := scripts/defconfig UNAME_RELEASE := $(shell uname -r) -MAKEFLAGS += -rR --no-print-directory +MAKEFLAGS += --no-print-directory
# Make is silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1)
Modified: buildrom-devel/packages/memtest/memtest.mk =================================================================== --- buildrom-devel/packages/memtest/memtest.mk 2008-09-18 16:29:48 UTC (rev 227) +++ buildrom-devel/packages/memtest/memtest.mk 2008-09-18 16:30:48 UTC (rev 228) @@ -36,7 +36,7 @@ $(MEMTEST_SRC_DIR)/memtest: $(MEMTEST_CONFIG_TARGET) @ echo "Building memtest..." - @ $(MAKE) -C $(MEMTEST_SRC_DIR) AS="$(AS) $(CROSS_ASFLAGS)" CC="$(CC) $(CROSS_CFLAGS)" LD="$(LD) $(CROSS_LDFLAGS)" CFLAGS="$(CFLAGS)" memtest > $(MEMTEST_BUILD_LOG) 2>&1 + @ $(MAKE) -C $(MEMTEST_SRC_DIR) AS="$(AS) $(CROSS_ASFLAGS)" CC="$(CC) $(CROSS_CFLAGS) $(STACKPROTECT)" LD="$(LD) $(CROSS_LDFLAGS)" CFLAGS="$(CFLAGS)" memtest > $(MEMTEST_BUILD_LOG) 2>&1
$(MEMTEST_STAMP_DIR) $(MEMTEST_LOG_DIR): @ mkdir -p $@