mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[backfire] merge r21242
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21324 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
80737b583d
commit
8348627e8a
@ -3,7 +3,7 @@ PKG_VERSION_ORGINAL:=$(PKG_VERSION)
|
|||||||
|
|
||||||
# in case that another version is provided, overwrite the original
|
# in case that another version is provided, overwrite the original
|
||||||
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_VERSION),y)
|
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_VERSION),y)
|
||||||
PKG_VERSION:= $(strip $(subst ",, $(CONFIG_$(PKG_NAME)_CUSTOM_VERSION)))
|
PKG_VERSION:=$(call qstrip,$(CONFIG_$(PKG_NAME)_CUSTOM_VERSION))
|
||||||
PKG_SOURCE:=$(subst $(PKG_VERSION_ORGINAL),$(PKG_VERSION),$(PKG_SOURCE))
|
PKG_SOURCE:=$(subst $(PKG_VERSION_ORGINAL),$(PKG_VERSION),$(PKG_SOURCE))
|
||||||
PKG_MD5SUM:=
|
PKG_MD5SUM:=
|
||||||
endif
|
endif
|
||||||
@ -26,7 +26,7 @@ endef
|
|||||||
|
|
||||||
# in case that an customer source path is provided, set the acc. default variable
|
# in case that an customer source path is provided, set the acc. default variable
|
||||||
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_SOURCE_DIR),y)
|
ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_SOURCE_DIR),y)
|
||||||
PKG_DEFAULT_CUSTOM_SOURCE_DIR:= $(strip $(subst ",, $(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR)))
|
PKG_DEFAULT_CUSTOM_SOURCE_DIR:= $(call qstrip,$(CONFIG_$(PKG_NAME)_CUSTOM_SOURCE_DIR))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# package specific configuration
|
# package specific configuration
|
||||||
|
@ -20,7 +20,7 @@ PKG_CAT:=bzcat
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
UBOOT_CONFIG=$(strip $(subst ",, $(CONFIG_AVR32_UBOOT_TARGET)))
|
UBOOT_CONFIG=$(call qstrip,$(CONFIG_AVR32_UBOOT_TARGET))
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config
|
$(MAKE) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIG)_config
|
||||||
|
@ -10,15 +10,13 @@ include $(INCLUDE_DIR)/image.mk
|
|||||||
export PATH=$(TARGET_PATH):/sbin
|
export PATH=$(TARGET_PATH):/sbin
|
||||||
|
|
||||||
ifneq ($(CONFIG_TARGET_x86_olpc),y)
|
ifneq ($(CONFIG_TARGET_x86_olpc),y)
|
||||||
BOOTOPTS=$(strip $(subst ",, $(CONFIG_X86_GRUB_BOOTOPTS)))
|
BOOTOPTS=$(call qstrip,$(CONFIG_X86_GRUB_BOOTOPTS))
|
||||||
ROOTPART=$(strip $(subst ",, $(CONFIG_X86_GRUB_ROOTPART)))
|
ROOTPART=$(call qstrip,$(CONFIG_X86_GRUB_ROOTPART))
|
||||||
#"))")) # fix vim's broken syntax highlighting
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_TARGET_x86_olpc),y)
|
ifeq ($(CONFIG_TARGET_x86_olpc),y)
|
||||||
ROOTPART=$(strip $(subst ",, $(CONFIG_OLPC_BOOTSCRIPT_ROOTPART)))
|
ROOTPART=$(call qstrip,$(CONFIG_OLPC_BOOTSCRIPT_ROOTPART))
|
||||||
endif
|
endif
|
||||||
#"))")) # fix vim's broken syntax highlighting
|
|
||||||
|
|
||||||
GRUB_TERMINALS =
|
GRUB_TERMINALS =
|
||||||
GRUB_SERIAL_CONFIG =
|
GRUB_SERIAL_CONFIG =
|
||||||
@ -31,7 +29,7 @@ GRUB_TERMINALS += console
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_X86_GRUB_SERIAL),)
|
ifneq ($(CONFIG_X86_GRUB_SERIAL),)
|
||||||
GRUB_CONSOLE_CMDLINE += console=$(strip $(subst ",, $(CONFIG_X86_GRUB_SERIAL))),$(CONFIG_X86_GRUB_BAUDRATE)n8
|
GRUB_CONSOLE_CMDLINE += console=$(call qstrip,$(CONFIG_X86_GRUB_SERIAL)),$(CONFIG_X86_GRUB_BAUDRATE)n8
|
||||||
GRUB_SERIAL_CONFIG = serial --unit=0 --speed=$(CONFIG_X86_GRUB_BAUDRATE) --word=8 --parity=no --stop=1
|
GRUB_SERIAL_CONFIG = serial --unit=0 --speed=$(CONFIG_X86_GRUB_BAUDRATE) --word=8 --parity=no --stop=1
|
||||||
GRUB_TERMINALS += serial
|
GRUB_TERMINALS += serial
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user