mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -135,10 +135,8 @@ copy_toolchain_sysroot = \
|
||||
$(call simplify_symlink,$$i,$(STAGING_DIR)) ; \
|
||||
done ; \
|
||||
fi ; \
|
||||
if [ ! -e $(STAGING_DIR)/lib/ld*.so.* ]; then \
|
||||
if [ -e $${ARCH_SYSROOT_DIR}/lib/ld*.so.* ]; then \
|
||||
cp -a $${ARCH_SYSROOT_DIR}/lib/ld*.so.* $(STAGING_DIR)/lib/ ; \
|
||||
fi ; \
|
||||
if [[ ! $$(find $(STAGING_DIR)/lib -name 'ld*.so.*' -print -quit) ]]; then \
|
||||
find $${ARCH_SYSROOT_DIR}/lib -name 'ld*.so.*' -print0 | xargs -0 -I % cp % $(STAGING_DIR)/lib/; \
|
||||
fi ; \
|
||||
if [ `readlink -f $${SYSROOT_DIR}` != `readlink -f $${ARCH_SYSROOT_DIR}` ] ; then \
|
||||
if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \
|
||||
@@ -152,7 +150,7 @@ copy_toolchain_sysroot = \
|
||||
if test -n "$${SUPPORT_LIB_DIR}" ; then \
|
||||
cp -a $${SUPPORT_LIB_DIR}/* $(STAGING_DIR)/lib/ ; \
|
||||
fi ; \
|
||||
find $(STAGING_DIR) -type d | xargs chmod 755
|
||||
find $(STAGING_DIR) -type d -print0 | xargs -0 chmod 755
|
||||
|
||||
#
|
||||
# Check the specified kernel headers version actually matches the
|
||||
@@ -483,7 +481,8 @@ check_toolchain_ssp = \
|
||||
#
|
||||
gen_gdbinit_file = \
|
||||
mkdir -p $(STAGING_DIR)/usr/share/buildroot/ ; \
|
||||
echo "set sysroot $(STAGING_DIR)" > $(STAGING_DIR)/usr/share/buildroot/gdbinit
|
||||
echo "add-auto-load-safe-path $(STAGING_DIR)" > $(STAGING_DIR)/usr/share/buildroot/gdbinit ; \
|
||||
echo "set sysroot $(STAGING_DIR)" >> $(STAGING_DIR)/usr/share/buildroot/gdbinit
|
||||
|
||||
# Given a path, determine the relative prefix (../) needed to return to the
|
||||
# root level. Note that the last component is treated as a file component; use a
|
||||
|
||||
Reference in New Issue
Block a user