sync with buildroot2 from uclibc, add two variables PACKAGE_DIR and PATCH, remove LINKSYS_TGZ_SITE from here

SVN-Revision: 265
master
Waldemar Brodkorb 20 years ago
parent 3f28be9df4
commit 61c7cab5b8
  1. 8
      openwrt/package/Config.in
  2. 5
      openwrt/package/Makefile.in

@ -2,15 +2,17 @@
menu "OpenWrt Package Selection" menu "OpenWrt Package Selection"
comment "The default set" comment "The absolute minimum"
source "package/linux/Config.in"
source "package/busybox/Config.in" source "package/busybox/Config.in"
comment "The default set"
source "package/dnsmasq/Config.in" source "package/dnsmasq/Config.in"
source "package/linux/Config.in"
source "package/iptables/Config.in" source "package/iptables/Config.in"
source "package/bridge/Config.in" source "package/bridge/Config.in"
comment "Suggested Extras" comment "Suggested Extras"
source "package/dropbear_sshd/Config.in"
source "package/ebtables/Config.in" source "package/ebtables/Config.in"
source "package/dropbear_sshd/Config.in"
endmenu endmenu

@ -1,5 +1,3 @@
LINKSYS_TGZ_SITE=http://openwrt.openbsd-geek.de
MAKE1=make MAKE1=make
MAKE=make -j$(BR2_JLEVEL) MAKE=make -j$(BR2_JLEVEL)
@ -17,8 +15,8 @@ TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
HOSTCC:=gcc HOSTCC:=gcc
BASE_DIR:=${shell pwd} BASE_DIR:=${shell pwd}
DL_DIR:=$(BASE_DIR)/dl DL_DIR:=$(BASE_DIR)/dl
#PATCH_DIR=$(BASE_DIR)/sources/patches
BUILD_DIR:=$(BASE_DIR)/build_$(ARCH)$(ARCH_FPU_SUFFIX) BUILD_DIR:=$(BASE_DIR)/build_$(ARCH)$(ARCH_FPU_SUFFIX)
PACKAGE_DIR:=$(BASE_DIR)/package
TARGET_DIR:=$(BUILD_DIR)/root TARGET_DIR:=$(BUILD_DIR)/root
TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX) TOOL_BUILD_DIR=$(BASE_DIR)/toolchain_build_$(ARCH)$(ARCH_FPU_SUFFIX)
# Strip off the annoying quoting # Strip off the annoying quoting
@ -32,6 +30,7 @@ KERNEL_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc- TARGET_CROSS=$(STAGING_DIR)/bin/$(OPTIMIZE_FOR_CPU)-linux-uclibc-
TARGET_CC=$(TARGET_CROSS)gcc 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
PATCH=toolchain/patch-kernel.sh
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \

Loading…
Cancel
Save