Skip to content

Error on make menuconfig: ~/Projects/local_buildroot/Config.in:1: can't open file "/Projects/local_buildroot/package/Config.in" #1

@lennybacon

Description

@lennybacon

I followed the description and executed the following commands

mkdir -p ~/Projects/local_buildroot
cd ~/Projects
git clone git://git.buildroot.net/buildroot
cd local_buildroot
git init
mkdir configs package

echo 'name: LOCAL_BUILDROOT' > external.desc
echo 'include $(sort $(wildcard $(BR2_EXTERNAL_LOCAL_BUILDROOT_PATH)/package/*/*.mk))' > external.mk
echo 'source "$BR2_EXTERNAL_LOCAL_BUILDROOT_PATH/package/Config.in"' > Config.in

Inside my ~/Projects/local_buildroot directory I now have two empty directories (configs and package) and the three config files (external.desc, external.mk and Config.in). There are no files in the package directory.

Now I continue to run the commands documented.

git add *
git commit

cd ~/Projects/buildroot
export BR2_EXTERNAL=${HOME}/Projects/local_buildroot
make menuconfig

The output of the command make menuconfig gives me an error, complaining about a file it cannot open:

/home/df/Projects/local_buildroot/Config.in:1: can't open file "/home/df/Projects/local_buildroot/package/Config.in"
make[1]: *** [Makefile:992: menuconfig] Error 1
make: *** [Makefile:83: _all] Error 2

I definitively have not created the file inside the packages directory. The Config.in in the local_buildroot points to a file with the same name but underneath the package directory, which I created and is empty.

So where is the file ~/Projects/local_buildroot/package/Config.in supposed to come from? Am I missing something or is ther some step in the config missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions