mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_GQVIEW
|
||||
bool "gqview"
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
GQview is an image viewer for Unix operating systems
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ GQVIEW_AUTORECONF = NO
|
||||
GQVIEW_INSTALL_STAGING = NO
|
||||
GQVIEW_INSTALL_TARGET = YES
|
||||
|
||||
GQVIEW_DEPENDENCIES = uclibc pkgconfig libgtk2
|
||||
GQVIEW_DEPENDENCIES = uclibc host-pkgconfig libgtk2
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,gqview))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user