Date:2010-07-28 00:26:13 (8 years 4 months ago)
Author:jow
Commit:b31d05c970845efc9522d05294efd2da1db3d942
Message:[buildsystem] make base-files dependent on opkg host compile, fixes install errors when package/compile and package/install are invoked separately

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/Makefile (3 diffs)

Change Details

package/Makefile
1212ifeq ($(SDK),1)
1313  $(curdir)/builddirs-install:=.
1414else
15  $(curdir)/base-files/compile += $(curdir)/opkg/host/compile
1516  $(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m))
1617  $(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m))
1718  $(curdir)/builddirs-install:=. $(sort $(package-y))
...... 
2021  $(curdir)/builddirs-ignore-compile:= $(if $(filter m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(m))),$(package-m))
2122endif
2223
23$(curdir)/opkghost: $(TMP_DIR)/.build
24    @-$(MAKE) package/opkg/host/install
25
2624$(curdir)/install:=$(curdir)/install-cleanup
2725
2826$(curdir)/cleanup: $(TMP_DIR)/.build
...... 
9391$(eval $(call stampfile,$(curdir),package,prereq,.config))
9492$(eval $(call stampfile,$(curdir),package,cleanup))
9593$(eval $(call stampfile,$(curdir),package,compile))
96$(eval $(call stampfile,$(curdir),package,opkghost))
97$(eval $(call stampfile,$(curdir),package,install,$(STAGING_DIR)/stamp/.package_opkghost))
94$(eval $(call stampfile,$(curdir),package,install))
9895$(eval $(call stampfile,$(curdir),package,rootfs-prepare))
9996
10097$(eval $(call subdir,$(curdir)))

Archive Download the corresponding diff file



interactive