81
82 lint: $(LINT_DEPS)
83
84 modlintlib: $(MODLINTLIB_DEPS)
85
86 clean.lint: $(CLEAN_LINT_DEPS)
87
88 install: $(INSTALL_DEPS)
89
90 #
91 # Include common targets.
92 #
93 include $(UTSBASE)/intel/Makefile.targ
94
95 #
96 # If you have any special case that general
97 # Makefile rules don't serve for you, just do
98 # it yourself.
99 #
100 # The amd64 version of this object has the .eh_frame section tagged
101 # as SHT_PROGBITS, while the ABI requires SHT_AMD64_UNWIND. The Solaris
102 # ld enforces this, so use elfedit to bring the object in line with
103 # this requirement.
104 #
105 ATHEROS_HAL=$(UTSBASE)/common/io/ath/hal_x86_$(CLASS).o.uu
106 $(OBJS_DIR)/hal.o: $(ATHEROS_HAL)
107 uudecode -o $@ $(ATHEROS_HAL)
108 if [ `elfedit -r -e 'ehdr:e_machine' $@` = EM_AMD64 ]; \
109 then elfedit -e 'shdr:sh_type .eh_frame SHT_AMD64_UNWIND' $@; fi
|
81
82 lint: $(LINT_DEPS)
83
84 modlintlib: $(MODLINTLIB_DEPS)
85
86 clean.lint: $(CLEAN_LINT_DEPS)
87
88 install: $(INSTALL_DEPS)
89
90 #
91 # Include common targets.
92 #
93 include $(UTSBASE)/intel/Makefile.targ
94
95 #
96 # If you have any special case that general
97 # Makefile rules don't serve for you, just do
98 # it yourself.
99 #
100 # The amd64 version of this object has the .eh_frame section tagged
101 # as SHT_PROGBITS. Historically ld did not support this and instead we
102 # used elfedit to transform it. The reason why we don't have the source to
103 # this and instead a uuencoded .o is all together another mystery.
104 #
105 ATHEROS_HAL=$(UTSBASE)/common/io/ath/hal_x86_$(CLASS).o.uu
106 $(OBJS_DIR)/hal.o: $(ATHEROS_HAL)
107 uudecode -o $@ $(ATHEROS_HAL)
|