aboutsummaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/Makefile
blob: 43225f919fbb390824774a7a764116d4f704dc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$

include $(TOPDIR)/rules.mk

PKG_NAME:=qos-scripts
PKG_VERSION:=1.1.0
PKG_RELEASE:=1

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/qos-scripts
  SECTION:=utils
  CATEGORY:=Base system
  DEPENDS:=+tc +kmod-sched +iptables-mod-filter +iptables-mod-ipopt +iptables-mod-extra +iptables-mod-conntrack +iptables-mod-imq
  TITLE:=QoS scripts
  DESCRIPTION:=QoS scripts \\\
	 A set of scripts that abstract QoS configuration \\\
	 into a simple configuration file supporting stanzas that specify \\\
	 any number of QoS entries.
endef

define Build/Prepare
endef

define Build/Configure
endef

define Build/Compile
endef

define Package/qos-scripts/install
	$(INSTALL_DIR) $(1)
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,qos-scripts))
> = aic7xxx_osm.o aic7xxx_proc.o # Core Files obj-aic7xxx += aic7xxx_core.o aic7xxx_93cx6.o ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y) obj-aic7xxx += aic7xxx_reg_print.o endif #EISA Specific Files AIC7XXX_EISA_ARCH = $(filter i386 alpha xen,$(ARCH)) ifneq ($(AIC7XXX_EISA_ARCH),) obj-aic7xxx += aic7770.o # Platform Specific EISA Files obj-aic7xxx += aic7770_osm.o endif #PCI Specific Files ifeq ($(CONFIG_PCI),y) obj-aic7xxx += aic7xxx_pci.o # Platform Specific PCI Files obj-aic7xxx += aic7xxx_osm_pci.o endif # Platform Specific U320 Files obj-aic79xx = aic79xx_osm.o aic79xx_proc.o aic79xx_osm_pci.o # Core Files obj-aic79xx += aic79xx_core.o aic79xx_pci.o ifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y) obj-aic79xx += aic79xx_reg_print.o endif # Override our module desitnation MOD_DESTDIR = $(shell cd .. && $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh) include $(TOPDIR)/Rules.make aic7xxx_core.o: aic7xxx_seq.h $(obj-aic7xxx): aic7xxx_reg.h aic7xxx.o: aic7xxx_seq.h aic7xxx_reg.h $(obj-aic7xxx) $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic7xxx) aic79xx_core.o: aic79xx_seq.h $(obj-aic79xx): aic79xx_reg.h aic79xx.o: aic79xx_seq.h aic79xx_reg.h $(obj-aic79xx) $(LD) $(LD_RFLAG) -r -o $@ $(obj-aic79xx) ifeq ($(CONFIG_AIC7XXX_BUILD_FIRMWARE),y) aic7xxx_gen = aic7xxx_seq.h aic7xxx_reg.h ifeq ($(CONFIG_AIC7XXX_REG_PRETTY_PRINT),y) aic7xxx_gen += aic7xxx_reg_print.c aic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \ -p aic7xxx_reg_print.c -i aic7xxx_osm.h \ -o aic7xxx_seq.h aic7xxx.seq else aic7xxx_asm_cmd = aicasm/aicasm -I. -r aic7xxx_reg.h \ -o aic7xxx_seq.h aic7xxx.seq endif $(aic7xxx_gen): aic7xxx.seq aic7xxx.reg aicasm/aicasm $(aic7xxx_asm_cmd) endif ifeq ($(CONFIG_AIC79XX_BUILD_FIRMWARE),y) aic79xx_gen = aic79xx_seq.h aic79xx_reg.h ifeq ($(CONFIG_AIC79XX_REG_PRETTY_PRINT),y) aic79xx_gen += aic79xx_reg_print.c aic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \ -p aic79xx_reg_print.c -i aic79xx_osm.h \ -o aic79xx_seq.h aic79xx.seq else aic79xx_asm_cmd = aicasm/aicasm -I. -r aic79xx_reg.h \ -o aic79xx_seq.h aic79xx.seq endif $(aic79xx_gen): aic79xx.seq aic79xx.reg aicasm/aicasm $(aic79xx_asm_cmd) endif aicasm/aicasm: aicasm/*.[chyl] $(MAKE) -C aicasm