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

SVN-Revision: 16653
lede-17.01
Andy Boyett 2009-07-02 07:24:50 +00:00
parent 0194fea285
commit b728796706
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Makefile for OpenWrt # 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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -81,7 +81,7 @@ $(TOPDIR)/tmp/ipkg.conf: FORCE
@echo 'dest root /' > $@ @echo 'dest root /' > $@
@echo 'src packages file:$(PACKAGE_DIR)' >> $@ @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) ifeq ($(KERNEL),2.4)
BUILD_PACKAGES:=$(patsubst base-files,base-files-$(BOARD)-$(KERNEL),$(BUILD_PACKAGES)) BUILD_PACKAGES:=$(patsubst base-files,base-files-$(BOARD)-$(KERNEL),$(BUILD_PACKAGES))
else else