ignore profiles with custom kernel configs in the image builder itself
SVN-Revision: 6342
This commit is contained in:
parent
ccd12544f6
commit
804bfa954d
2 changed files with 8 additions and 4 deletions
|
@ -149,8 +149,9 @@ sub gen_target_mk() {
|
||||||
define Profile/$conf\_$profile->{id}
|
define Profile/$conf\_$profile->{id}
|
||||||
ID:=$profile->{id}
|
ID:=$profile->{id}
|
||||||
NAME:=$profile->{name}
|
NAME:=$profile->{name}
|
||||||
PACKAGES:=".join(" ", @{$profile->{packages}})."
|
PACKAGES:=".join(" ", @{$profile->{packages}})."\n";
|
||||||
endef";
|
$profile->{kconfig} and $profiles_def .= " KCONFIG:=1\n";
|
||||||
|
$profiles_def .= " endef";
|
||||||
$profiles_eval .= "
|
$profiles_eval .= "
|
||||||
\$(eval \$(call AddProfile,$conf\_$profile->{id}))"
|
\$(eval \$(call AddProfile,$conf\_$profile->{id}))"
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,7 @@ IPKG:= \
|
||||||
define Profile/Default
|
define Profile/Default
|
||||||
ID:=
|
ID:=
|
||||||
NAME:=
|
NAME:=
|
||||||
|
KCONFIG:=
|
||||||
PACKAGES:=
|
PACKAGES:=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -46,9 +47,11 @@ define AddProfile
|
||||||
endif
|
endif
|
||||||
$(ID)_NAME:=$(NAME)
|
$(ID)_NAME:=$(NAME)
|
||||||
$(ID)_PACKAGES:=$(PACKAGES)
|
$(ID)_PACKAGES:=$(PACKAGES)
|
||||||
|
ifneq ($(KCONFIG),)
|
||||||
PROFILE_LIST += \
|
PROFILE_LIST += \
|
||||||
echo '$(ID):'; [ -z '$(NAME)' ] || echo ' $(NAME)'; echo ' Packages: $(PACKAGES)';
|
echo '$(ID):'; [ -z '$(NAME)' ] || echo ' $(NAME)'; echo ' Packages: $(PACKAGES)';
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
include .target.mk
|
include .target.mk
|
||||||
|
|
Loading…
Reference in a new issue