File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,16 @@ kernel_build ()
158158 do_mount;
159159 cd $BASE_DIR /$ROOT_TARGET /$KERNEL_DIR ;
160160 git clean -xdf;
161- sed -i ' /do_tools/ s/true/false/' debian.nexus7/rules.d/armhf.mk;
162- chroot $BASE_DIR /$ROOT_TARGET su - -c " cd /" $KERNEL_DIR " ; fakeroot debian/rules clean" ;
163- chroot $BASE_DIR /$ROOT_TARGET su - -c ' cd /' $KERNEL_DIR ' ; debuild -eDEB_BUILD_OPTIONS="parallel=' $BUILD_PROCESSES ' " -eCROSS_COMPILE="ccache arm-linux-gnueabihf-" -b -aarmhf -us -uc -nc' ;
161+ export ARCH=arm;
162+ export SUBARCH=arm;
163+ export CROSS_COMPILE=" ccache arm-linux-gnueabihf-"
164+ chroot $BASE_DIR /$ROOT_TARGET su - -c " cd /" $KERNEL_DIR " ; make mrproper" ;
165+ chroot $BASE_DIR /$ROOT_TARGET su - -c " cd /" $KERNEL_DIR " ; make grouper_ubuntu_defconfig" ;
166+ chroot $BASE_DIR /$ROOT_TARGET su - -c " cd /" $KERNEL_DIR " ; make" ;
167+
168+ # sed -i '/do_tools/ s/true/false/' debian.nexus7/rules.d/armhf.mk;
169+ # chroot $BASE_DIR/$ROOT_TARGET su - -c "cd /"$KERNEL_DIR"; fakeroot debian/rules clean";
170+ # chroot $BASE_DIR/$ROOT_TARGET su - -c 'cd /'$KERNEL_DIR'; debuild -eDEB_BUILD_OPTIONS="parallel='$BUILD_PROCESSES'" -eCROSS_COMPILE="ccache arm-linux-gnueabihf-" -b -aarmhf -us -uc -nc';
164171 cd $BASE_DIR ;
165172 do_unmount;
166173 reset_path;
You can’t perform that action at this time.
0 commit comments