projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wlcompat build
[openwrt.git]
/
obsolete-buildroot
/
Makefile
diff --git
a/obsolete-buildroot/Makefile
b/obsolete-buildroot/Makefile
index
e2219c6
..
45c1e85
100644
(file)
--- a/
obsolete-buildroot/Makefile
+++ b/
obsolete-buildroot/Makefile
@@
-28,20
+28,18
@@
#
#############################################################
#
#############################################################
-SNAPSHOT:=200
4053
1
+SNAPSHOT:=200
5010
1
ARCH:=mipsel
ARCH:=mipsel
-USE_UCLIBC_SNAPSHOT:=$(SNAPSHOT)
+
#
USE_UCLIBC_SNAPSHOT:=$(SNAPSHOT)
USE_UCLIBC_LDSO_0_9_24:=false
USE_UCLIBC_LDSO_0_9_24:=false
-USE_BUSYBOX_SNAPSHOT:=$(SNAPSHOT)
-USE_NETFILTER_SNAPSHOT:=
$(SNAPSHOT)
-USE_BRIDGE_VERSION:=
0.9.7
+
#
USE_BUSYBOX_SNAPSHOT:=$(SNAPSHOT)
+USE_NETFILTER_SNAPSHOT:=
20041009
+USE_BRIDGE_VERSION:=
1.0.4
BUILD_WITH_LARGEFILE:=true
OPTIMIZE_FOR_CPU=$(ARCH)
BUILD_WITH_LARGEFILE:=true
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
@@
-97,9
+95,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 openwrt-code.bin
-PACKAGES:=oidentd iproute2
sched-modules wshaper
+PACKAGES:=oidentd iproute2
kmod-sched wshaper zlib openssl openssh pppoecd dropbear chillispot dhcp-fwd ip6tables kmod-ipt6 kmod-ipv6 kmod-nfs kmod-ppp-async kmod-ppp-mppe-mppc ppp pppoecd pptp-server kmod-tun fprobe libpcap libpthread pptp-client vsftpd matrixssl ntpclient radvd strace
#############################################################
#
#############################################################
#
@@
-148,8
+146,8
@@
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CC=$(TARGET_CROSS)gcc
KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CC=$(TARGET_CROSS)gcc
-STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
-
+#STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note --strip-unneeded
+STRIP=$(STAGING_DIR)/bin/sstrip
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
@@
-180,7
+178,6
@@
else
DISABLE_NLS:=--disable-nls
endif
DISABLE_NLS:=--disable-nls
endif
-
all: world
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
all: world
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
@@
-189,12
+186,18
@@
TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
PACKAGES_IPK:=$(patsubst %,%-ipk,$(PACKAGES))
PACKAGES_IPK:=$(patsubst %,%-ipk,$(PACKAGES))
+OPENWRT_IPK_DIR=$(SOURCE_DIR)/openwrt/ipkg
+world: $(DL_DIR) $(TARGETS_SOURCE) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
+ @echo "ALL DONE."
-$(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
+packages: ipkg-utils $(PACKAGES_IPK)
+ -@mkdir -p $(BASE_DIR)/packages
+ { \
+ cd $(BASE_DIR)/packages; \
+ mv $(BUILD_DIR)/*.ipk .; \
+ $(IPKG_MAKE_INDEX) . > Packages; \
+ }
@echo "ALL DONE."
.PHONY: all world clean dirclean distclean source $(TARGETS) \
@echo "ALL DONE."
.PHONY: all world clean dirclean distclean source $(TARGETS) \
@@
-223,11
+226,9
@@
$(STAGING_DIR):
ln -fs ../$(REAL_GNU_TARGET_NAME)/include $(STAGING_DIR)/usr/include
ln -fs ../$(REAL_GNU_TARGET_NAME)/include $(STAGING_DIR)/usr/include
-$(TARGET_DIR):
$(DL_DIR)/$(OPENWRT_ROOT_SKEL)
+$(TARGET_DIR):
rm -rf $(TARGET_DIR)
rm -rf $(TARGET_DIR)
- #zcat $(SOURCE_DIR)/skel.tar.gz | tar -C $(BUILD_DIR) -xf -
- zcat $(DL_DIR)/$(OPENWRT_ROOT_SKEL) | tar -C $(BUILD_DIR) -xf -
- #cp -a $(SOURCE_DIR)/target_skeleton/* $(TARGET_DIR)/
+ cp -a $(SOURCE_DIR)/openwrt/root/ $(TARGET_DIR)
-find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1
source: $(TARGETS_SOURCE)
-find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1
source: $(TARGETS_SOURCE)
@@
-239,11
+240,13
@@
source: $(TARGETS_SOURCE)
#############################################################
clean:
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(IMAGE) \
#############################################################
clean:
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(IMAGE) \
+ $(BASE_DIR)/packages \
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
dirclean: $(TARGETS_DIRCLEAN)
rm -rf $(TARGET_DIR) $(STAGING_DIR) $(IMAGE) \
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
dirclean: $(TARGETS_DIRCLEAN)
rm -rf $(TARGET_DIR) $(STAGING_DIR) $(IMAGE) \
+ $(BASE_DIR)/packages \
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
openwrt-linux.trx openwrt-g-code.bin openwrt-gs-code.bin \
openwrt-kmodules.tar.bz2
@@
-251,17
+254,6
@@
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.022133 seconds
and
4
git commands to generate.