diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2024-05-09 19:46:09 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2024-05-10 18:35:50 +0000 |
commit | de1ac9462f31956a98e9953009f02a0e39eed283 (patch) | |
tree | 0d2d63f839aefd56205f84ea19b2e7615b9fda6a | |
parent | 10eea8dc8c4f3d2a3495e7fb08837d91adf465e9 (diff) | |
download | src-de1ac9462f31956a98e9953009f02a0e39eed283.tar.gz src-de1ac9462f31956a98e9953009f02a0e39eed283.zip |
conf: Generate fdt_static_dtb.h in OBJDIR
Though the kernel build expects ${.OBJDIR} to be equal to ${.CURDIR}
that may not always be the case. Correctly generate fdt_static_dtb.h in
${.OBJDIR}, which is conceptually more correct anyway.
Obtained from: Juniper Networks, Inc.
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index 7fd79bb0345d..56c92f51947f 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -19,7 +19,7 @@ bhnd_nvram_map_data.h optional bhnd \ no-obj no-implicit-rule before-depend \ clean "bhnd_nvram_map_data.h" fdt_static_dtb.h optional fdt fdt_dtb_static \ - compile-with "sh -c 'MACHINE=${MACHINE} $S/tools/fdt/make_dtbh.sh ${FDT_DTS_FILE} ${.CURDIR}'" \ + compile-with "sh -c 'MACHINE=${MACHINE} $S/tools/fdt/make_dtbh.sh ${FDT_DTS_FILE} ${.OBJDIR}'" \ dependency "${FDT_DTS_FILE:T:R}.dtb" \ no-obj no-implicit-rule before-depend \ clean "fdt_static_dtb.h" |