Skip to content
Snippets Groups Projects
Commit 3071e8dd authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Fix package list generation

I honestly have no idea how this broke, but I suspect it has to do with the make
version...
parent be7b917b
No related branches found
No related tags found
No related merge requests found
...@@ -86,10 +86,6 @@ endef ...@@ -86,10 +86,6 @@ endef
include $(GLUONDIR)/include/profiles.mk include $(GLUONDIR)/include/profiles.mk
# Generate package lists
$(eval $(call merge-lists,BASE_PACKAGES,DEFAULT_PACKAGES $(PROFILE)_PACKAGES))
$(eval $(call merge-lists,GLUON_PACKAGES,GLUON_DEFAULT_PACKAGES GLUON_SITE_PACKAGES GLUON_$(PROFILE)_DEFAULT_PACKAGES GLUON_$(PROFILE)_SITE_PACKAGES))
$(BUILD_DIR)/.prepared: Makefile $(BUILD_DIR)/.prepared: Makefile
@mkdir -p $$(dirname $@) @mkdir -p $$(dirname $@)
...@@ -200,6 +196,7 @@ OPKG:= \ ...@@ -200,6 +196,7 @@ OPKG:= \
EnableInitscript = ! grep -q '\#!/bin/sh /etc/rc.common' $(1) || bash ./etc/rc.common $(1) enable EnableInitscript = ! grep -q '\#!/bin/sh /etc/rc.common' $(1) || bash ./etc/rc.common $(1) enable
FileOrigin = $(firstword $(shell $(OPKG) search $(1))) FileOrigin = $(firstword $(shell $(OPKG) search $(1)))
enable_initscripts: FORCE enable_initscripts: FORCE
cd $(TARGET_DIR) && ( export IPKG_INSTROOT=$(TARGET_DIR); \ cd $(TARGET_DIR) && ( export IPKG_INSTROOT=$(TARGET_DIR); \
$(foreach script,$(wildcard $(TARGET_DIR)/etc/init.d/*), \ $(foreach script,$(wildcard $(TARGET_DIR)/etc/init.d/*), \
...@@ -207,6 +204,11 @@ enable_initscripts: FORCE ...@@ -207,6 +204,11 @@ enable_initscripts: FORCE
) : \ ) : \
) )
# Generate package lists
$(eval $(call merge-lists,BASE_PACKAGES,DEFAULT_PACKAGES $(PROFILE)_PACKAGES))
$(eval $(call merge-lists,GLUON_PACKAGES,GLUON_DEFAULT_PACKAGES GLUON_SITE_PACKAGES GLUON_$(PROFILE)_DEFAULT_PACKAGES GLUON_$(PROFILE)_SITE_PACKAGES))
package_install: FORCE package_install: FORCE
$(OPKG) update $(OPKG) update
$(OPKG) install $(PACKAGE_DIR)/libc_*.ipk $(OPKG) install $(PACKAGE_DIR)/libc_*.ipk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment