From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heidelberg Date: Tue, 31 Mar 2009 21:08:58 +0200 Subject: [Buildroot] User defined packages? In-Reply-To: References: Message-ID: <200903312108.58755.markus.heidelberg@web.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Lloyd Sargent, 31.03.2009: > As a noob on this list, if there isn't already a way to add user > defined packages, could I suggest the following? > > In package/Config.in add the following line: > > source "user_package/Config.in" > > In a new directory named "user_package" have a file called Config.in > with the following: > > menu "User Packages" > source "package/YourUserDefinedPackage/Config.in" I guess you meant user_package/ here and not package/ > endmenu > > The advantage to this is that it allows users to add to their list of > packages without affecting (or in anyway touching) the files within > the "package" directory. And it gives noobs such as myself a feeling > of security that they aren't messing up something important. For a real feeling of security you should use a VCS. I personally don't like the idea of a separate package directory. Putting them into package/ only touches package/Config.in. You can add a new 'menu "My Packages"' at the end of the file or wherever if you like, this doesn't affect the official files much. Markus