46 lines
1.5 KiB
Diff
46 lines
1.5 KiB
Diff
--- linux-source-2.6.18/arch/ia64/Makefile.orig 2007-01-03 17:26:31.000000000 -0700
|
|
+++ linux-source-2.6.18/arch/ia64/Makefile 2007-01-03 17:57:52.000000000 -0700
|
|
@@ -28,16 +28,7 @@
|
|
-falign-functions=32 -frename-registers -fno-optimize-sibling-calls
|
|
CFLAGS_KERNEL := -mconstant-gp
|
|
|
|
-GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
|
|
-KBUILD_CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")
|
|
-
|
|
-ifeq ($(GAS_STATUS),buggy)
|
|
-$(error Sorry, you need a newer version of the assember, one that is built from \
|
|
- a source-tree that post-dates 18-Dec-2002. You can find a pre-compiled \
|
|
- static binary of such an assembler at: \
|
|
- \
|
|
- ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz)
|
|
-endif
|
|
+KBUILD_CPPFLAGS += -DHAVE_WORKING_TEXT_ALIGN -DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE
|
|
|
|
ifeq ($(call cc-version),0304)
|
|
cflags-$(CONFIG_ITANIUM) += -mtune=merced
|
|
@@ -67,7 +58,7 @@
|
|
|
|
PHONY += boot compressed check
|
|
|
|
-all: compressed unwcheck
|
|
+all: compressed
|
|
|
|
compressed: vmlinux.gz
|
|
|
|
@@ -76,9 +67,6 @@
|
|
vmlinux.gz: vmlinux
|
|
$(Q)$(MAKE) $(build)=$(boot) $@
|
|
|
|
-unwcheck: vmlinux
|
|
- -$(Q)READELF=$(READELF) python $(srctree)/arch/ia64/scripts/unwcheck.py $<
|
|
-
|
|
archclean:
|
|
$(Q)$(MAKE) $(clean)=$(boot)
|
|
|
|
@@ -94,5 +82,4 @@
|
|
echo '* compressed - Build compressed kernel image'
|
|
echo ' install - Install compressed kernel image'
|
|
echo ' boot - Build vmlinux and bootloader for Ski simulator'
|
|
- echo '* unwcheck - Check vmlinux for invalid unwind info'
|
|
endef
|