Change Details
nanonote-files/data/qi_lb60/scripts/compile-openwrt-xburst.sh |
53 | 53 | sed -i '/CONFIG_ALL/s/.*/CONFIG_ALL=y/' .config |
54 | 54 | yes "" | make oldconfig > /dev/null |
55 | 55 | |
| 56 | echo "getting version numbers of used repositories..." |
| 57 | HEAD_NEW=`${GET_FEEDS_VERSION_SH} ${OPENWRT_DIR}` |
| 58 | HEAD_OLD=`cat ${IMAGES_DIR}/../${OPENWRT_DIR_NAME}.VERSIONS` |
| 59 | if [ "${HEAD_NEW}" == "${HEAD_OLD}" ]; then |
| 60 | echo "No new commit, ignore build" |
| 61 | rm -f ${BUILD_LOG} ${VERSIONS_FILE} |
| 62 | rmdir ${IMAGES_DIR} |
| 63 | exit 0 |
| 64 | fi |
| 65 | ${GET_FEEDS_VERSION_SH} ${OPENWRT_DIR} > ${VERSIONS_FILE} |
| 66 | cp ${VERSIONS_FILE} ${IMAGES_DIR}/../${OPENWRT_DIR_NAME}.VERSIONS |
56 | 67 | |
57 | 68 | echo "copy files, create VERSION, link dl folder, last prepare..." |
58 | 69 | rm -f files && ln -s feeds/qipackages/nanonote-files/data/qi_lb60/files/ |
... | ... | |
72 | 83 | MAKE_RET="$?" |
73 | 84 | |
74 | 85 | |
75 | | echo "getting version numbers of used repositories..." |
76 | | ${GET_FEEDS_VERSION_SH} ${OPENWRT_DIR} > ${VERSIONS_FILE} |
77 | | |
78 | | |
79 | 86 | echo "copy all files to IMAGES_DIR..." |
80 | 87 | cp .config ${IMAGES_DIR}/config |
81 | 88 | cp build_dir/linux-xburst_qi_lb60/linux-*/.config ${IMAGES_DIR}/kernel.config |
Download the corresponding diff file