projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to code properly at 4am ...
[openwrt.git]
/
obsolete-buildroot
/
Makefile
diff --git
a/obsolete-buildroot/Makefile
b/obsolete-buildroot/Makefile
index
cf68d06
..
13955e4
100644
(file)
--- a/
obsolete-buildroot/Makefile
+++ b/
obsolete-buildroot/Makefile
@@
-28,7
+28,7
@@
#
#############################################################
#
#############################################################
-SNAPSHOT:=20040
531
+SNAPSHOT:=20040
718
ARCH:=mipsel
USE_UCLIBC_SNAPSHOT:=$(SNAPSHOT)
ARCH:=mipsel
USE_UCLIBC_SNAPSHOT:=$(SNAPSHOT)
@@
-40,6
+40,8
@@
BUILD_WITH_LARGEFILE:=true
OPTIMIZE_FOR_CPU=$(ARCH)
OPTIMIZE_FOR_CPU=$(ARCH)
+PUB_DIR:=/var/www/html/testsite/ipkg
+
# Command used to download source code
WGET:=wget --passive-ftp
# Command used to download source code
WGET:=wget --passive-ftp
@@
-95,7
+97,9
@@
INSTALL_LIBGCJ:=false
# The list of stuff to build for the target filesystem
#
#############################################################
# The list of stuff to build for the target filesystem
#
#############################################################
-TARGETS:=host-sed gcc3_3 openwrt-base openwrt-code.bin
+TARGETS:=host-sed gcc3_3 ipkg-utils openwrt-base openwrt-code.bin
+
+PACKAGES:=oidentd iproute2 sched-modules wshaper
#############################################################
#
#############################################################
#
@@
-183,7
+187,14
@@
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
-world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
+
+PACKAGES_IPK:=$(patsubst %,%-ipk,$(PACKAGES))
+
+
+$(BUILD_DIR)/Packages : $(PACKAGES_IPK)
+ (cd $(BUILD_DIR) ; $(IPKG_MAKE_INDEX) . > Packages)
+
+world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS) $(PACKAGES_IPK) $(BUILD_DIR)/Packages
@echo "ALL DONE."
.PHONY: all world clean dirclean distclean source $(TARGETS) \
@echo "ALL DONE."
.PHONY: all world clean dirclean distclean source $(TARGETS) \
@@
-240,6
+251,17
@@
distclean:
rm -rf $(DL_DIR) $(BUILD_DIR) $(LINUX_KERNEL) $(IMAGE) \
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
rm -rf $(DL_DIR) $(BUILD_DIR) $(LINUX_KERNEL) $(IMAGE) \
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
+
+
+publish:
+ chmod 644 $(BUILD_DIR)/Packages
+ chmod 644 $(BUILD_DIR)/Packages.filelist
+ chmod 644 $(BUILD_DIR)/*.ipk
+ cp $(BUILD_DIR)/Packages $(PUB_DIR)
+ cp $(BUILD_DIR)/Packages.filelist $(PUB_DIR)
+ cp $(BUILD_DIR)/*.ipk $(PUB_DIR)
+
+
sourceball:
rm -rf $(BUILD_DIR)
sourceball:
rm -rf $(BUILD_DIR)
This page took
0.024467 seconds
and
4
git commands to generate.