Blame view
tools/Makefile
8.94 KB
83d290c56 SPDX: Convert all... |
1 |
# SPDX-License-Identifier: GPL-2.0+ |
efee17099 Initial revision |
2 |
# |
f93286397 Add support for a... |
3 |
# (C) Copyright 2000-2006 |
efee17099 Initial revision |
4 |
# Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
efee17099 Initial revision |
5 |
|
c7c0d542a tools: allow peop... |
6 7 |
# Enable all the config-independent tools ifneq ($(HOST_TOOLS_ALL),) |
5473eb6d1 tools: Make kwboo... |
8 |
CONFIG_KIRKWOOD = y |
c7c0d542a tools: allow peop... |
9 |
CONFIG_LCD_LOGO = y |
570d7d50b tools: enable img... |
10 |
CONFIG_CMD_LOADS = y |
c7c0d542a tools: allow peop... |
11 |
CONFIG_CMD_NET = y |
60b74bde9 MIPS: INCA-IP: re... |
12 |
CONFIG_XWAY_SWAP_BYTES = y |
c7c0d542a tools: allow peop... |
13 14 |
CONFIG_NETCONSOLE = y CONFIG_SHA1_CHECK_UB_IMG = y |
d8c0d99e6 tools: fix mksunx... |
15 |
CONFIG_ARCH_SUNXI = y |
c7c0d542a tools: allow peop... |
16 |
endif |
2887c4733 Makefile: refacto... |
17 |
subdir-$(HOST_TOOLS_ALL) += gdb |
2ad6e27dc tools: make it po... |
18 19 |
# Merge all the different vars for envcrc into one ENVCRC-$(CONFIG_ENV_IS_EMBEDDED) = y |
2ad6e27dc tools: make it po... |
20 21 22 23 24 25 26 |
ENVCRC-$(CONFIG_ENV_IS_IN_EEPROM) = y ENVCRC-$(CONFIG_ENV_IS_IN_FLASH) = y ENVCRC-$(CONFIG_ENV_IS_IN_ONENAND) = y ENVCRC-$(CONFIG_ENV_IS_IN_NAND) = y ENVCRC-$(CONFIG_ENV_IS_IN_NVRAM) = y ENVCRC-$(CONFIG_ENV_IS_IN_SPI_FLASH) = y CONFIG_BUILD_ENVCRC ?= $(ENVCRC-y) |
96b09a97f kbuild: remove un... |
27 |
hostprogs-$(CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER) += atmel_pmecc_params |
5c390a5b2 arm:at91: enable ... |
28 |
|
96b09a97f kbuild: remove un... |
29 30 31 |
hostprogs-$(CONFIG_LCD_LOGO) += bmp_logo hostprogs-$(CONFIG_VIDEO_LOGO) += bmp_logo HOSTCFLAGS_bmp_logo.o := -pedantic |
940db16d2 tools: convert ma... |
32 |
|
96b09a97f kbuild: remove un... |
33 |
hostprogs-$(CONFIG_BUILD_ENVCRC) += envcrc |
0649cd0d4 Move environment ... |
34 |
envcrc-objs := envcrc.o lib/crc32.o env/embedded.o lib/sha1.o |
940db16d2 tools: convert ma... |
35 |
|
96b09a97f kbuild: remove un... |
36 37 |
hostprogs-$(CONFIG_CMD_NET) += gen_eth_addr HOSTCFLAGS_gen_eth_addr.o := -pedantic |
ee3584a59 tools/Makefile: S... |
38 |
|
c25f01a63 tools: Add tool t... |
39 40 41 |
hostprogs-$(CONFIG_CMD_NET) += gen_ethaddr_crc gen_ethaddr_crc-objs := gen_ethaddr_crc.o lib/crc8.o HOSTCFLAGS_gen_ethaddr_crc.o := -pedantic |
96b09a97f kbuild: remove un... |
42 43 |
hostprogs-$(CONFIG_CMD_LOADS) += img2srec HOSTCFLAGS_img2srec.o := -pedantic |
940db16d2 tools: convert ma... |
44 |
|
96b09a97f kbuild: remove un... |
45 46 |
hostprogs-$(CONFIG_XWAY_SWAP_BYTES) += xway-swap-bytes HOSTCFLAGS_xway-swap-bytes.o := -pedantic |
940db16d2 tools: convert ma... |
47 |
|
96b09a97f kbuild: remove un... |
48 49 |
hostprogs-y += mkenvimage mkenvimage-objs := mkenvimage.o os_support.o lib/crc32.o |
940db16d2 tools: convert ma... |
50 |
|
96b09a97f kbuild: remove un... |
51 52 |
hostprogs-y += dumpimage mkimage hostprogs-$(CONFIG_FIT_SIGNATURE) += fit_info fit_check_sign |
940db16d2 tools: convert ma... |
53 |
|
ac0201961 tools: provide a ... |
54 |
hostprogs-$(CONFIG_CMD_BOOTEFI_SELFTEST) += file2include |
93e078807 Make FIT support ... |
55 |
FIT_OBJS-$(CONFIG_FIT) := fit_common.o fit_image.o image-host.o common/image-fit.o |
ad80c4a32 kbuild, tools: ge... |
56 |
FIT_SIG_OBJS-$(CONFIG_FIT_SIGNATURE) := common/image-sig.o |
7298e4225 mkimage: fit: add... |
57 |
FIT_CIPHER_OBJS-$(CONFIG_FIT_CIPHER) := common/image-cipher.o |
ee95d10ba fdt: Build the ne... |
58 |
|
b38ad663a tools: use files ... |
59 60 |
# The following files are synced with upstream DTC. # Use synced versions from scripts/dtc/libfdt/. |
ae9ace708 libfdt: migrate f... |
61 62 |
LIBFDT_SRCS_SYNCED := fdt.c fdt_wip.c fdt_sw.c fdt_rw.c \ fdt_strerror.c fdt_empty_tree.c fdt_addresses.c fdt_overlay.c |
b38ad663a tools: use files ... |
63 64 |
# The following files are locally modified for U-Boot (unfotunately). # Use U-Boot own versions from lib/libfdt/. |
ae9ace708 libfdt: migrate f... |
65 |
LIBFDT_SRCS_UNSYNCED := fdt_ro.c fdt_region.c |
b38ad663a tools: use files ... |
66 67 68 |
LIBFDT_OBJS := $(addprefix libfdt/, $(patsubst %.c, %.o, $(LIBFDT_SRCS_SYNCED))) \ $(addprefix lib/libfdt/, $(patsubst %.c, %.o, $(LIBFDT_SRCS_UNSYNCED))) |
330274f19 fdt: Add all sour... |
69 |
|
ad80c4a32 kbuild, tools: ge... |
70 |
RSA_OBJS-$(CONFIG_FIT_SIGNATURE) := $(addprefix lib/rsa/, \ |
fc2f4246b rsa: Split the rs... |
71 72 |
rsa-sign.o rsa-verify.o rsa-checksum.o \ rsa-mod-exp.o) |
940db16d2 tools: convert ma... |
73 |
|
7298e4225 mkimage: fit: add... |
74 |
AES_OBJS-$(CONFIG_FIT_CIPHER) := $(addprefix lib/aes/, \ |
4df357811 u-boot: fit: add ... |
75 |
aes-encrypt.o aes-decrypt.o) |
7298e4225 mkimage: fit: add... |
76 |
|
9b03701a1 rockchip: Enable ... |
77 |
ROCKCHIP_OBS = lib/rc4.o rkcommon.o rkimage.o rksd.o rkspi.o |
a131c1f44 rockchip: Add the... |
78 |
|
940db16d2 tools: convert ma... |
79 80 |
# common objs for dumpimage and mkimage dumpimage-mkimage-objs := aisimage.o \ |
7b1a41174 mkimage: add atme... |
81 |
atmelimage.o \ |
93e078807 Make FIT support ... |
82 |
$(FIT_OBJS-y) \ |
940db16d2 tools: convert ma... |
83 |
$(FIT_SIG_OBJS-y) \ |
7298e4225 mkimage: fit: add... |
84 |
$(FIT_CIPHER_OBJS-y) \ |
ea51a6282 Allow compiling c... |
85 |
common/bootm.o \ |
ad80c4a32 kbuild, tools: ge... |
86 |
lib/crc32.o \ |
940db16d2 tools: convert ma... |
87 |
default_image.o \ |
b047d671d lib, fdt: move fd... |
88 |
lib/fdtdec_common.o \ |
ad80c4a32 kbuild, tools: ge... |
89 |
lib/fdtdec.o \ |
ad80c4a32 kbuild, tools: ge... |
90 |
common/image.o \ |
940db16d2 tools: convert ma... |
91 92 |
imagetool.o \ imximage.o \ |
a2b96ece5 tools: add i.MX8/... |
93 |
imx8image.o \ |
6609c2663 tools: add i.MX8M... |
94 |
imx8mimage.o \ |
940db16d2 tools: convert ma... |
95 |
kwbimage.o \ |
ad80c4a32 kbuild, tools: ge... |
96 |
lib/md5.o \ |
39f520bb6 lpc32xx: add lpc3... |
97 |
lpc32xximage.o \ |
940db16d2 tools: convert ma... |
98 99 100 101 |
mxsimage.o \ omapimage.o \ os_support.o \ pblimage.o \ |
abbc67eed mkimage : Split o... |
102 |
pbl_crc32.o \ |
ed0c2c0a9 tools: mkimage: a... |
103 |
vybridimage.o \ |
81260e333 tools/mkimage: ad... |
104 |
stm32image.o \ |
a131c1f44 rockchip: Add the... |
105 |
$(ROCKCHIP_OBS) \ |
832472a94 tools: socfpga: A... |
106 |
socfpgaimage.o \ |
51c2345bd Roll CRC16-CCITT ... |
107 |
lib/crc16.o \ |
ad80c4a32 kbuild, tools: ge... |
108 109 |
lib/sha1.o \ lib/sha256.o \ |
2dd900271 Use hash.c in mki... |
110 |
common/hash.o \ |
940db16d2 tools: convert ma... |
111 |
ublimage.o \ |
66eef1e78 tools: zynqimage:... |
112 |
zynqimage.o \ |
d9b58b303 tools: zynqmpimag... |
113 |
zynqmpimage.o \ |
6915dcf35 tools: zynqmpimag... |
114 |
zynqmpbif.o \ |
940db16d2 tools: convert ma... |
115 |
$(LIBFDT_OBJS) \ |
969cd1fa6 mkimage -l is bro... |
116 117 |
gpimage.o \ gpimage-common.o \ |
3b975a147 tools: MediaTek: ... |
118 |
mtk_image.o \ |
7298e4225 mkimage: fit: add... |
119 120 |
$(RSA_OBJS-y) \ $(AES_OBJS-y) |
940db16d2 tools: convert ma... |
121 |
|
96b09a97f kbuild: remove un... |
122 123 124 125 |
dumpimage-objs := $(dumpimage-mkimage-objs) dumpimage.o mkimage-objs := $(dumpimage-mkimage-objs) mkimage.o fit_info-objs := $(dumpimage-mkimage-objs) fit_info.o fit_check_sign-objs := $(dumpimage-mkimage-objs) fit_check_sign.o |
ac0201961 tools: provide a ... |
126 |
file2include-objs := file2include.o |
940db16d2 tools: convert ma... |
127 |
|
80870e2a6 tools: add a gene... |
128 |
ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),) |
940db16d2 tools: convert ma... |
129 130 |
# Add CONFIG_MXS into host CFLAGS, so we can check whether or not register # the mxsimage support within tools/mxsimage.c . |
6825a95b0 kbuild: use Linux... |
131 |
HOSTCFLAGS_mxsimage.o += -DCONFIG_MXS |
940db16d2 tools: convert ma... |
132 133 134 |
endif ifdef CONFIG_FIT_SIGNATURE |
940db16d2 tools: convert ma... |
135 136 137 |
# This affects include/image.h, but including the board config file # is tricky, so manually define this options here. HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE |
72239fc85 vboot: Add FIT_SI... |
138 |
HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE_MAX_SIZE=$(CONFIG_FIT_SIGNATURE_MAX_SIZE) |
940db16d2 tools: convert ma... |
139 |
endif |
7298e4225 mkimage: fit: add... |
140 141 142 143 144 |
ifdef CONFIG_FIT_CIPHER # This affects include/image.h, but including the board config file # is tricky, so manually define this options here. HOST_EXTRACFLAGS += -DCONFIG_FIT_CIPHER endif |
7ddf8cfb0 kwbimage: Rename ... |
145 146 |
ifdef CONFIG_SYS_U_BOOT_OFFS HOSTCFLAGS_kwbimage.o += -DCONFIG_SYS_U_BOOT_OFFS=$(CONFIG_SYS_U_BOOT_OFFS) |
e35c6c797 kwbimage: Make th... |
147 |
endif |
a1b6b0a9c arm: mvebu: Imple... |
148 149 150 |
ifneq ($(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X),) HOSTCFLAGS_kwbimage.o += -DCONFIG_KWB_SECURE endif |
97cb4e545 tools: refactor H... |
151 |
# MXSImage needs LibSSL |
a1b6b0a9c arm: mvebu: Imple... |
152 |
ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),) |
9bdfe290e tools/Makefile: g... |
153 154 |
HOSTCFLAGS_kwbimage.o += \ $(shell pkg-config --cflags libssl libcrypto 2> /dev/null || echo "") |
4839836a1 tools: use pkg-co... |
155 156 |
HOSTLOADLIBES_mkimage += \ $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") |
c6e3e8213 tools: -Wno-depre... |
157 158 159 160 161 162 163 164 |
# OS X deprecate openssl in favour of CommonCrypto, supress deprecation # warnings on those systems ifeq ($(HOSTOS),darwin) HOSTCFLAGS_mxsimage.o += -Wno-deprecated-declarations HOSTCFLAGS_image-sig.o += -Wno-deprecated-declarations HOSTCFLAGS_rsa-sign.o += -Wno-deprecated-declarations endif |
97cb4e545 tools: refactor H... |
165 |
endif |
1f6049e25 tools/mkimage: Ma... |
166 |
HOSTCFLAGS_fit_image.o += -DMKIMAGE_DTC=\"$(CONFIG_MKIMAGE_DTC_PATH)\" |
47a52cd1e dtc: mkimage: Add... |
167 |
|
96b09a97f kbuild: remove un... |
168 169 170 |
HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage) HOSTLOADLIBES_fit_info := $(HOSTLOADLIBES_mkimage) HOSTLOADLIBES_fit_check_sign := $(HOSTLOADLIBES_mkimage) |
97cb4e545 tools: refactor H... |
171 |
|
96b09a97f kbuild: remove un... |
172 173 174 |
hostprogs-$(CONFIG_EXYNOS5250) += mkexynosspl hostprogs-$(CONFIG_EXYNOS5420) += mkexynosspl HOSTCFLAGS_mkexynosspl.o := -pedantic |
940db16d2 tools: convert ma... |
175 |
|
31eca6972 x86: ifdtool: Add... |
176 |
ifdtool-objs := $(LIBFDT_OBJS) ifdtool.o |
cd392fe8a x86: Add ifdtool ... |
177 |
hostprogs-$(CONFIG_X86) += ifdtool |
56bf4f863 x86: Add ifwitool... |
178 179 |
ifwitool-objs := ifwitool.o hostprogs-$(CONFIG_X86)$(CONFIG_SANDBOX) += ifwitool |
96b09a97f kbuild: remove un... |
180 181 182 |
hostprogs-$(CONFIG_MX23) += mxsboot hostprogs-$(CONFIG_MX28) += mxsboot HOSTCFLAGS_mxsboot.o := -pedantic |
940db16d2 tools: convert ma... |
183 |
|
aec9a0f19 sunxi: Rename CON... |
184 |
hostprogs-$(CONFIG_ARCH_SUNXI) += mksunxiboot |
594b4cc73 tools: sunxi: Add... |
185 186 |
hostprogs-$(CONFIG_ARCH_SUNXI) += sunxi-spl-image-builder sunxi-spl-image-builder-objs := sunxi-spl-image-builder.o lib/bch.o |
50827a599 sunxi: non-FEL SP... |
187 |
|
96b09a97f kbuild: remove un... |
188 189 |
hostprogs-$(CONFIG_NETCONSOLE) += ncb hostprogs-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1 |
940db16d2 tools: convert ma... |
190 |
|
96b09a97f kbuild: remove un... |
191 |
ubsha1-objs := os_support.o ubsha1.o lib/sha1.o |
940db16d2 tools: convert ma... |
192 193 |
HOSTCFLAGS_ubsha1.o := -pedantic |
96b09a97f kbuild: remove un... |
194 |
hostprogs-$(CONFIG_KIRKWOOD) += kwboot |
81e33f4b6 arm: mvebu: Move ... |
195 |
hostprogs-$(CONFIG_ARCH_MVEBU) += kwboot |
96b09a97f kbuild: remove un... |
196 197 |
hostprogs-y += proftool hostprogs-$(CONFIG_STATIC_RELA) += relocate-rela |
42ac26f2b riscv: tools: Pre... |
198 |
hostprogs-$(CONFIG_RISCV) += prelink-riscv |
ee3584a59 tools/Makefile: S... |
199 |
|
1043d0a02 fdt: Add fdtgrep ... |
200 201 |
hostprogs-y += fdtgrep fdtgrep-objs += $(LIBFDT_OBJS) fdtgrep.o |
2577015dc spl: add overall ... |
202 203 204 |
ifneq ($(TOOLS_ONLY),y) hostprogs-y += spl_size_limit endif |
703ec9ddf MIPS: Stop buildi... |
205 |
hostprogs-$(CONFIG_MIPS) += mips-relocs |
2b12196dc cmd: add asn1_com... |
206 207 |
hostprogs-$(CONFIG_ASN1_COMPILER) += asn1_compiler HOSTCFLAGS_asn1_compiler.o = -idirafter $(srctree)/include |
940db16d2 tools: convert ma... |
208 209 210 211 |
# We build some files with extra pedantic flags to try to minimize things # that won't build on some weird host compiler -- though there are lots of # exceptions for files that aren't complaint. HOSTCFLAGS_crc32.o := -pedantic |
1d3c53923 tools: Allow crc8... |
212 |
HOSTCFLAGS_crc8.o := -pedantic |
940db16d2 tools: convert ma... |
213 214 |
HOSTCFLAGS_md5.o := -pedantic HOSTCFLAGS_sha1.o := -pedantic |
2842c1c24 fit: add sha256 s... |
215 |
HOSTCFLAGS_sha256.o := -pedantic |
940db16d2 tools: convert ma... |
216 |
|
ad80c4a32 kbuild, tools: ge... |
217 |
quiet_cmd_wrap = WRAP $@ |
ffe29ebc0 kbuild: sync top ... |
218 |
cmd_wrap = echo "\#include <../$(patsubst $(obj)/%,%,$@)>" >$@ |
ad80c4a32 kbuild, tools: ge... |
219 |
|
0649cd0d4 Move environment ... |
220 |
$(obj)/lib/%.c $(obj)/common/%.c $(obj)/env/%.c: |
ad80c4a32 kbuild, tools: ge... |
221 222 223 |
$(call cmd,wrap) clean-dirs := lib common |
940db16d2 tools: convert ma... |
224 |
always := $(hostprogs-y) |
19c402afa image: Add RSA su... |
225 |
|
335ffe7e0 tools/Makefile: B... |
226 |
# Generated LCD/video logo |
9e4140329 kbuild: change ou... |
227 228 |
LOGO_H = $(objtree)/include/bmp_logo.h LOGO_DATA_H = $(objtree)/include/bmp_logo_data.h |
335ffe7e0 tools/Makefile: B... |
229 |
LOGO-$(CONFIG_LCD_LOGO) += $(LOGO_H) |
c270730f5 tools: logo: spli... |
230 |
LOGO-$(CONFIG_LCD_LOGO) += $(LOGO_DATA_H) |
335ffe7e0 tools/Makefile: B... |
231 |
LOGO-$(CONFIG_VIDEO_LOGO) += $(LOGO_H) |
c270730f5 tools: logo: spli... |
232 |
LOGO-$(CONFIG_VIDEO_LOGO) += $(LOGO_DATA_H) |
ee3584a59 tools/Makefile: S... |
233 |
|
96903dae0 build: Use generi... |
234 |
# Generic logo |
ee3584a59 tools/Makefile: S... |
235 |
ifeq ($(LOGO_BMP),) |
9e4140329 kbuild: change ou... |
236 |
LOGO_BMP= $(srctree)/$(src)/logos/denx.bmp |
96903dae0 build: Use generi... |
237 238 |
# Use board logo and fallback to vendor |
603f51cbd kbuild: tools: fi... |
239 |
ifneq ($(wildcard $(srctree)/$(src)/logos/$(BOARD).bmp),) |
9e4140329 kbuild: change ou... |
240 |
LOGO_BMP= $(srctree)/$(src)/logos/$(BOARD).bmp |
96903dae0 build: Use generi... |
241 |
else |
603f51cbd kbuild: tools: fi... |
242 |
ifneq ($(wildcard $(srctree)/$(src)/logos/$(VENDOR).bmp),) |
9e4140329 kbuild: change ou... |
243 |
LOGO_BMP= $(srctree)/$(src)/logos/$(VENDOR).bmp |
ee3584a59 tools/Makefile: S... |
244 |
endif |
348de314b digsy_mtc: move b... |
245 |
endif |
ee3584a59 tools/Makefile: S... |
246 |
|
96903dae0 build: Use generi... |
247 |
endif # !LOGO_BMP |
efee17099 Initial revision |
248 249 |
# # Use native tools and options |
2f8d396b9 Add support for b... |
250 |
# Define __KERNEL_STRICT_NAMES to prevent typedef overlaps |
2db1c3fc6 tools/Makefile: M... |
251 |
# Define _GNU_SOURCE to obtain the getline prototype from stdio.h |
efee17099 Initial revision |
252 |
# |
662282203 libfdt: migrate i... |
253 |
HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \ |
51148790f kconfig: switch t... |
254 |
$(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ |
e0d20dc15 tools: Include U-... |
255 |
-I$(srctree)/scripts/dtc/libfdt \ |
01286329b kbuild: rename SR... |
256 |
-I$(srctree)/tools \ |
14d0a02a1 Rename TEXT_BASE ... |
257 |
-DUSE_HOSTCC \ |
2db1c3fc6 tools/Makefile: M... |
258 |
-D__KERNEL_STRICT_NAMES \ |
d7edeba79 tools/Makefile: b... |
259 260 |
-D_GNU_SOURCE \ -std=gnu99 |
8cf30809a [new uImage] Add ... |
261 |
|
d726f225f cmd: rework "lice... |
262 |
__build: $(LOGO-y) |
efee17099 Initial revision |
263 |
|
9e4140329 kbuild: change ou... |
264 265 |
$(LOGO_H): $(obj)/bmp_logo $(LOGO_BMP) $(obj)/bmp_logo --gen-info $(LOGO_BMP) > $@ |
c270730f5 tools: logo: spli... |
266 |
|
245b1029e bmp_logo: support... |
267 268 269 270 |
ifeq ($(CONFIG_DM_VIDEO),y) $(LOGO_DATA_H): $(obj)/bmp_logo $(LOGO_BMP) $(obj)/bmp_logo --gen-bmp $(LOGO_BMP) > $@ else |
9e4140329 kbuild: change ou... |
271 272 |
$(LOGO_DATA_H): $(obj)/bmp_logo $(LOGO_BMP) $(obj)/bmp_logo --gen-data $(LOGO_BMP) > $@ |
245b1029e bmp_logo: support... |
273 274 |
#endif endif |
2887c4733 Makefile: refacto... |
275 276 277 |
# Let clean descend into subdirs subdir- += env |
db5b339cc kbuild: add "cros... |
278 279 |
ifneq ($(CROSS_BUILD_TOOLS),) |
3b0825296 tools: fix cross-... |
280 |
override HOSTCC = $(CC) |
72c69ea8d tools/Makefile: f... |
281 |
override HOSTCFLAGS = $(CFLAGS) |
db5b339cc kbuild: add "cros... |
282 283 284 285 286 287 288 289 290 |
quiet_cmd_crosstools_strip = STRIP $^ cmd_crosstools_strip = $(STRIP) $^; touch $@ $(obj)/.strip: $(call objectify,$(filter $(always),$(hostprogs-y))) $(call cmd,crosstools_strip) always += .strip endif clean-files += .strip |