Messages in this thread Patch in this message | | | From | Mike Frysinger <> | Date | Tue, 19 Oct 2010 16:11:53 -0400 | Subject | Re: [PATCH] initramfs: Fix build break on symbol-prefixed archs |
| |
On Tue, Oct 19, 2010 at 07:08, Hendrik Brueckner wrote: > --- a/usr/Makefile > +++ b/usr/Makefile > @@ -19,6 +19,9 @@ suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZ > suffix_$(CONFIG_INITRAMFS_COMPRESSION_LZO) = .lzo > > AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/initramfs_data.cpio$(suffix_y)" > +ifdef CONFIG_SYMBOL_PREFIX > +AFLAGS_initramfs_data.o += -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) > +endif > > # Generate builtin.o based on initramfs_data.o > obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o
i dont think we want to go this route. keep it in one place: --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -120,7 +120,9 @@ _c_flags += $(if $(patsubst n%,, \ endif
ifdef CONFIG_SYMBOL_PREFIX -_cpp_flags += -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) +_sym_flags = -DSYMBOL_PREFIX=$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) +_cpp_flags += $(_sym_flags) +_a_flags += $(_sym_flags) endif
-mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |