mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 22:47:31 +02:00
Fix/clean several hundred package makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4603 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4c66f72328
commit
ae98e0cfbc
@ -33,7 +33,7 @@ define Build/Compile
|
|||||||
rm -rf $(PKG_INSTALL_DIR)
|
rm -rf $(PKG_INSTALL_DIR)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
mkdir -p $(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld" \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
COPT_FLAGS="$(TARGET_CFLAGS)" \
|
COPT_FLAGS="$(TARGET_CFLAGS)" \
|
||||||
KERNEL_DIR="./include/linux"
|
KERNEL_DIR="./include/linux"
|
||||||
endef
|
endef
|
||||||
|
@ -87,7 +87,6 @@ define Build/Compile
|
|||||||
# Compile wlc
|
# Compile wlc
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/wlc \
|
$(MAKE) -C $(PKG_BUILD_DIR)/wlc \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CC="$(TARGET_CC)" \
|
|
||||||
CFLAGS="-I$(PKG_BUILD_DIR)/wlc/include $(TARGET_CFLAGS)" \
|
CFLAGS="-I$(PKG_BUILD_DIR)/wlc/include $(TARGET_CFLAGS)" \
|
||||||
all
|
all
|
||||||
endef
|
endef
|
||||||
|
@ -87,11 +87,10 @@ define Package/Template
|
|||||||
define Build/Compile/$(2)
|
define Build/Compile/$(2)
|
||||||
$(call Build/CompileTarget,$(2))
|
$(call Build/CompileTarget,$(2))
|
||||||
endef
|
endef
|
||||||
endif
|
|
||||||
|
|
||||||
define Package/$(1)/install
|
define Package/$(1)/install
|
||||||
$(call Package/InstallTemplate,$(1),$(2))
|
$(call Package/InstallTemplate,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
|
@ -38,7 +38,7 @@ DESCRIPTION:=ATM RFC2684 bridging utility
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default,)
|
$(call Build/Configure/Default)
|
||||||
# prevent autoheader invocation
|
# prevent autoheader invocation
|
||||||
touch $(PKG_BUILD_DIR)/stamp-h.in
|
touch $(PKG_BUILD_DIR)/stamp-h.in
|
||||||
endef
|
endef
|
||||||
|
@ -50,11 +50,7 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
rm -rf $(PKG_INSTALL_DIR)
|
$(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS)" all install)
|
||||||
mkdir -p $(PKG_INSTALL_DIR)
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
|
||||||
all install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pcmcia-cs/install
|
define Package/pcmcia-cs/install
|
||||||
|
@ -27,12 +27,6 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
||||||
all
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/robocfg/install
|
define Package/robocfg/install
|
||||||
install -d -m0755 $(1)/sbin
|
install -d -m0755 $(1)/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
|
||||||
|
@ -42,7 +42,6 @@ define Build/Compile
|
|||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CPP="$(TARGET_CC)" \
|
CPP="$(TARGET_CC)" \
|
||||||
LD="$(TARGET_CROSS)ld" \
|
LD="$(TARGET_CROSS)ld" \
|
||||||
STAGING_DIR=$(STAGING_DIR) \
|
|
||||||
KERNELVERSION="$(KERNEL)" \
|
KERNELVERSION="$(KERNEL)" \
|
||||||
KERNEL_SOURCE="$(LINUX_DIR)" \
|
KERNEL_SOURCE="$(LINUX_DIR)" \
|
||||||
KDIR="$(LINUX_DIR)" \
|
KDIR="$(LINUX_DIR)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user