|
@@ -11,6 +11,7 @@ targets += purgatory.ro
|
|
|
# sure how to relocate those. Like kexec-tools, use custom flags.
|
|
# sure how to relocate those. Like kexec-tools, use custom flags.
|
|
|
|
|
|
|
|
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large
|
|
KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large
|
|
|
|
|
+KBUILD_CFLAGS += -m$(BITS)
|
|
|
|
|
|
|
|
$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE
|
|
$(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE
|
|
|
$(call if_changed,ld)
|
|
$(call if_changed,ld)
|