fix profile package selection, packages from last parsed profile were accidentally installed

SVN-Revision: 16653
This commit is contained in:
Andy Boyett 2009-07-02 07:24:50 +00:00
parent 0194fea285
commit b728796706

View File

@ -1,6 +1,6 @@
# Makefile for OpenWrt
#
# Copyright (C) 2007-2008 OpenWrt.org
# Copyright (C) 2007-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -81,7 +81,7 @@ $(TOPDIR)/tmp/ipkg.conf: FORCE
@echo 'dest root /' > $@
@echo 'src packages file:$(PACKAGE_DIR)' >> $@
BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $(PACKAGES) $($(PROFILE)_PACKAGES) kernel)
BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $($(PROFILE)_PACKAGES) kernel)
ifeq ($(KERNEL),2.4)
BUILD_PACKAGES:=$(patsubst base-files,base-files-$(BOARD)-$(KERNEL),$(BUILD_PACKAGES))
else