Skip to content

Commit 4082b3e

Browse files
committed
flex-builder: Document exported variables
Add a brief comment explaining that common variables are exported for use by included .mk files, while machine-specific variables are exported by the respective machine configs. No functional change. Signed-off-by: Luan Rafael Carneiro <luan.r@variscite.com>
1 parent f6d9fb9 commit 4082b3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/flex-builder

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,8 @@ PKG_CONFIG_SYSROOT_DIR=$RFSDIR
11591159
LD_LIBRARY_PATH=$DESTDIR/usr/lib:$RFSDIR/usr/lib:$RFSDIR/usr/lib/aarch64-linux-gnu
11601160
PKG_CONFIG_PATH=$DESTDIR/usr/lib/pkgconfig:$RFSDIR/usr/lib/pkgconfig:$RFSDIR/usr/lib/aarch64-linux-gnu/pkgconfig:$RFSDIR/usr/share/pkgconfig
11611161

1162+
# Export common variables so they are accessible in .mk files.
1163+
# Additional machine specific variables are exported in the machine configuration files
11621164
export ARCH DESTARCH CROSS_COMPILE FBDIR DESTDIR RFSDIR JOBS COMPONENT MACHINE KERNEL_DEVICETREE KERNEL_TREE \
11631165
KERNEL_PATH KERNEL_OUTPUT_PATH INSTALL_MOD_PATH KERNEL_CFG BOOTTYPE MAKE CONFIGLIST MACHINE_LIST \
11641166
CFGLISTYML BUILDARG DISTROTYPE DISTROVARIANT DISTROVARIANTOPT HOSTARCH SYSARCH SECURE \

0 commit comments

Comments
 (0)