* [Buildroot] autoconf Makefile in sub-directory
@ 2021-10-31 5:39 Bassem Fahmy
2021-10-31 20:09 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bassem Fahmy @ 2021-10-31 5:39 UTC (permalink / raw)
To: buildroot@buildroot.org
Hi All,
I have been given a package that is built using autoconf tools. The
package builds fine under native compilation. The package however
produces the main Makefile under a linux subdirectory
CFLAGS="$CFLAGS
-I/home/bassem/projects/morse_buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libnl3"
AC_CONFIG_FILES([linux/Makefile
])
;;
Adding an autoconf package in buildroot, buildroot can pass the
configure step, however Make target is failing:
PATH="/home/bassem/projects/morse_buildroot/output/host/bin:/home/bassem/projects/morse_buildroot/output/host/sbin:/home/bassem/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/bassem/tools/riscv64-unknown-elf-gcc-8.2.0-2019.02.0-x86_64-linux-ubuntu14/bin:/home/bassem/tools/riscv-openocd-0.10.0-2018.12.0-x86_64-linux-ubuntu14/bin:/home/bassem/tools"
/usr/bin/make -j9 -C
/home/bassem/projects/morse_buildroot/output/build/dpp-custom/linux -C
/home/bassem/projects/morse_buildroot/output/build/dpp-custom/
make[2]: *** No targets specified and no makefile found. Stop.
As you could see in the log, buildroot is sticking to the PKG_SRC_DIR
as the makefile source.
Trying to use LIBFOO_MAKE_OPTS (forcing -C xxxx) didn't work either.
Any clue how can I fix this?
Regards,
Bassem
Sent from Outlook
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Buildroot] autoconf Makefile in sub-directory
2021-10-31 5:39 [Buildroot] autoconf Makefile in sub-directory Bassem Fahmy
@ 2021-10-31 20:09 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-10-31 20:09 UTC (permalink / raw)
To: Bassem Fahmy; +Cc: buildroot@buildroot.org
Hello,
On Sun, 31 Oct 2021 05:39:27 +0000
Bassem Fahmy <t_fahmy_bassem@hotmail.com> wrote:
> Hi All,
>
> I have been given a package that is built using autoconf tools. The
> package builds fine under native compilation. The package however
> produces the main Makefile under a linux subdirectory
>
> CFLAGS="$CFLAGS
> -I/home/bassem/projects/morse_buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/libnl3"
> AC_CONFIG_FILES([linux/Makefile
> ])
> ;;
So the configure script is at the root of the source tree, but the main
Makefile is in a sub-directory ?
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-31 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-31 5:39 [Buildroot] autoconf Makefile in sub-directory Bassem Fahmy
2021-10-31 20:09 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox