mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Update rootfs_script.sh
							parent
							
								
									f8dec2289a
								
							
						
					
					
						commit
						85f7892abe
					
				|  | @ -12,6 +12,11 @@ if ! grep -qP ${CONF} ${BR2_CONFIG}; then | ||||||
| 	rm -f ${TARGET_DIR}/usr/lib/libstdc++* | 	rm -f ${TARGET_DIR}/usr/lib/libstdc++* | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | if grep -q "USES_MUSL=y" ${BR2_CONFIG}; then | ||||||
|  | 	ln -sf libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0 | ||||||
|  | 	ln -sf ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| LIST="${BR2_EXTERNAL_GENERAL_PATH}/scripts/excludes/${OPENIPC_SOC_MODEL}_${OPENIPC_VARIANT}.list" | LIST="${BR2_EXTERNAL_GENERAL_PATH}/scripts/excludes/${OPENIPC_SOC_MODEL}_${OPENIPC_VARIANT}.list" | ||||||
| if [ -f ${LIST} ]; then | if [ -f ${LIST} ]; then | ||||||
| 	xargs -a ${LIST} -I % rm -f ${TARGET_DIR}% | 	xargs -a ${LIST} -I % rm -f ${TARGET_DIR}% | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue