appfruits / buildroot-boards

This is a collection of build root boards that we have configured for our own project as a reference and starting point for others
GNU General Public License v2.0
4 stars 0 forks source link

make Error 1 #1

Closed ezamp closed 9 years ago

ezamp commented 9 years ago

Hi, I found the following error when I tried to compile with the make command:

linux linux-3.10-at91 Extracting gzip -d -c /home/emanuele/Desktop/Buildroot/buildroot/dl/linux-linux-3.10-at91.tar.gz | tar --strip-components=1 -C /home/emanuele/Desktop/Buildroot/buildroot/output/build/linux-linux-3.10-at91 -xf - linux linux-3.10-at91 Patching for p in ../boards/board/acmesystems/acqua/patches/kernel/24bpp_for_5_and_7_inch_lcd.patch ; do if test -d $p ; then support/scripts/apply-patches.sh /home/emanuele/Desktop/Buildroot/buildroot/output/build/linux-linux-3.10-at91 $p linux-*.patch || exit 1 ; else support/scripts/apply-patches.sh /home/emanuele/Desktop/Buildroot/buildroot/output/build/linux-linux-3.10-at91 dirname $p basename $p || exit 1; fi done Aborting. '../boards/board/acmesystems/acqua/patches/kernel' is not a directory. package/pkg-generic.mk:147: recipe for target '/home/emanuele/Desktop/Buildroot/buildroot/output/build/linux-linux-3.10-at91/.stamp_patched' failed make: *\ [/home/emanuele/Desktop/Buildroot/buildroot/output/build/linux-linux-3.10-at91/.stamp_patched] Error 1

I run the information in the file readme.md and I used the standard options described in the guide.

Thank You

Emanuele

pschuster commented 9 years ago

Hi,

can you please show your folder structure? The script complains that it does not find ../boards/board/acmesystems/acqua/patches/kernel which is ok, as the folder should be buildroot-boards/board/acmesystems/acqua/patches/kernel. I am not sure if your folder structure got messed up during the process or if the folder is not correctly set in one of the config files.

As far as I remember the folder is set with BR2_EXTERNAL which is set in one of the first steps in the guide. Did you do that?

ezamp commented 9 years ago

Hi,

yes, I configured BR2_EXTERNAL with the command: make BR2_EXTERNAL=../buildroot-boards acqua_defconfig

The folder structure is: -buildroot -buildroot-boards ---board ------acmesystems ---------acqua ------------patches ---------------kernel ------------rootfs-overlay --------------- ... ---configs ---packages

Thank you for your help

ezamp commented 9 years ago

Hi,

I think the error is in the line 340: BR2_LINUX_KERNEL_PATCH="../boards/board/acmesystems/acqua/patches/kernel/24bpp_for_5_and_7_inch_lcd.patch"

here the path is wrong, I correct in this way: BR2_LINUX_KERNEL_PATCH="../buildroot-boards/board/acmesystems/acqua/patches/kernel/24bpp_for_5_and_7_inch_lcd.patch"

the same thing I did in the line 343... Now the compilation ends successfully

Emanuele

pschuster commented 9 years ago

Lol. A second ago I found the same error. In this second I am fixing it. In a minute I will commit a new aqua_defconfig. Would you mind to have a look if my changes reflect yours?

Thanks. Phillip

ezamp commented 9 years ago

yes, I corrected in the same way

Emanuele

pschuster commented 9 years ago

Please let me know if you have problems again. It would be great to here if everything works or other things should be fixed. I think our work will help other users.

Thanks. Phillip