projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: add template for getting opkg package files from package names
[openwrt/staging/yousong.git]
/
package
/
Makefile
diff --git
a/package/Makefile
b/package/Makefile
index 87dfe68e06330e5a37daf32315468632b7244cac..f5a73956438b0212b4d41ac9172a2bdd67a3db6d 100644
(file)
--- a/
package/Makefile
+++ b/
package/Makefile
@@
-49,11
+49,7
@@
$(curdir)/install: $(TMP_DIR)/.build $(curdir)/system/opkg/host/install
rm -rf $(TARGET_DIR)
[ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp
$(call opkg,$(TARGET_DIR)) install \
rm -rf $(TARGET_DIR)
[ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp
$(call opkg,$(TARGET_DIR)) install \
- $(wildcard \
- $(foreach dir,$(PACKAGE_SUBDIRS), \
- $(foreach pkg, \
- $(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null), \
- $(dir)/$(pkg)_*.ipk)))
+ $(call opkg_package_files,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null))
@for file in $(PACKAGE_INSTALL_FILES); do \
[ -s $$file.flags ] || continue; \
for flag in `cat $$file.flags`; do \
@for file in $(PACKAGE_INSTALL_FILES); do \
[ -s $$file.flags ] || continue; \
for flag in `cat $$file.flags`; do \