mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:27:31 +02:00
ignore profiles with custom kernel configs in the image builder itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6342 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3b03b65e99
commit
a91b3a746d
@ -149,8 +149,9 @@ sub gen_target_mk() {
|
||||
define Profile/$conf\_$profile->{id}
|
||||
ID:=$profile->{id}
|
||||
NAME:=$profile->{name}
|
||||
PACKAGES:=".join(" ", @{$profile->{packages}})."
|
||||
endef";
|
||||
PACKAGES:=".join(" ", @{$profile->{packages}})."\n";
|
||||
$profile->{kconfig} and $profiles_def .= " KCONFIG:=1\n";
|
||||
$profiles_def .= " endef";
|
||||
$profiles_eval .= "
|
||||
\$(eval \$(call AddProfile,$conf\_$profile->{id}))"
|
||||
}
|
||||
|
@ -34,6 +34,7 @@ IPKG:= \
|
||||
define Profile/Default
|
||||
ID:=
|
||||
NAME:=
|
||||
KCONFIG:=
|
||||
PACKAGES:=
|
||||
endef
|
||||
|
||||
@ -46,9 +47,11 @@ define AddProfile
|
||||
endif
|
||||
$(ID)_NAME:=$(NAME)
|
||||
$(ID)_PACKAGES:=$(PACKAGES)
|
||||
ifneq ($(KCONFIG),)
|
||||
PROFILE_LIST += \
|
||||
echo '$(ID):'; [ -z '$(NAME)' ] || echo ' $(NAME)'; echo ' Packages: $(PACKAGES)';
|
||||
endif
|
||||
endif
|
||||
endef
|
||||
|
||||
include .target.mk
|
||||
|
Loading…
Reference in New Issue
Block a user