mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-17 22:24:04 +02:00
replace $(IDIR_*) with $(1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
64c71ec5d9
commit
44ba04efe2
@ -29,9 +29,9 @@ define Build/Configure
|
|||||||
$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
|
$(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/busybox/install
|
define Package/bridge/install
|
||||||
install -m0755 -d $(IDIR_DNSMASQ)/usr/sbin
|
install -m0755 -d $(1)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/brctl/brctl $(IDIR_BRIDGE)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/brctl/brctl $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,bridge))
|
$(eval $(call BuildPackage,bridge))
|
||||||
|
@ -25,11 +25,11 @@ URL:=http://www.thekelleys.org.uk/dnsmasq/
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dnsmasq/install
|
define Package/dnsmasq/install
|
||||||
install -m0755 -d $(IDIR_DNSMASQ)/usr/sbin
|
install -m0755 -d $(1)/usr/sbin
|
||||||
install -m0755 -d $(IDIR_DNSMASQ)/etc/init.d/
|
install -m0755 -d $(1)/etc/init.d/
|
||||||
install -m0755 $(PKG_BUILD_DIR)/src/dnsmasq $(IDIR_DNSMASQ)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/src/dnsmasq $(1)/usr/sbin/
|
||||||
install -m0644 ./files/dnsmasq.conf $(IDIR_DNSMASQ)/etc/dnsmasq.conf
|
install -m0644 ./files/dnsmasq.conf $(1)/etc/dnsmasq.conf
|
||||||
install -m0755 ./files/dnsmasq.init $(IDIR_DNSMASQ)/etc/init.d/S50dnsmasq
|
install -m0755 ./files/dnsmasq.init $(1)/etc/init.d/S50dnsmasq
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,dnsmasq))
|
$(eval $(call BuildPackage,dnsmasq))
|
||||||
|
@ -87,22 +87,22 @@ define Buid/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dropbear/install
|
define Package/dropbear/install
|
||||||
mkdir -p $(IDIR_DROPBEAR)/usr/bin
|
mkdir -p $(1)/usr/bin
|
||||||
mkdir -p $(IDIR_DROPBEAR)/usr/sbin
|
mkdir -p $(1)/usr/sbin
|
||||||
install -m 755 $(PKG_BUILD_DIR)/dropbearmulti \
|
install -m 755 $(PKG_BUILD_DIR)/dropbearmulti \
|
||||||
$(IDIR_DROPBEAR)/usr/sbin/dropbear
|
$(1)/usr/sbin/dropbear
|
||||||
ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/scp
|
ln -sf ../sbin/dropbear $(1)/usr/bin/scp
|
||||||
ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/ssh
|
ln -sf ../sbin/dropbear $(1)/usr/bin/ssh
|
||||||
ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/dbclient
|
ln -sf ../sbin/dropbear $(1)/usr/bin/dbclient
|
||||||
ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/dropbearkey
|
ln -sf ../sbin/dropbear $(1)/usr/bin/dropbearkey
|
||||||
mkdir -p $(IDIR_DROPBEAR)/etc/init.d
|
mkdir -p $(1)/etc/init.d
|
||||||
install -m 755 ./files/S50dropbear $(IDIR_DROPBEAR)/etc/init.d/
|
install -m 755 ./files/S50dropbear $(1)/etc/init.d/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/dropbearconvert/install
|
define Package/dropbearconvert/install
|
||||||
mkdir -p $(IDIR_DBCONVERT)/usr/bin
|
mkdir -p $(1)/usr/bin
|
||||||
install -m 755 $(PKG_BUILD_DIR)/dropbearconvert \
|
install -m 755 $(PKG_BUILD_DIR)/dropbearconvert \
|
||||||
$(IDIR_DBCONVERT)/usr/bin/dropbearconvert
|
$(1)/usr/bin/dropbearconvert
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,dropbear))
|
$(eval $(call BuildPackage,dropbear))
|
||||||
|
@ -24,8 +24,8 @@ URL:=http://ebtables.sourceforge.net/
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ebtables/install
|
define Package/ebtables/install
|
||||||
install -d -m0755 $(IDIR_DNSMASQ)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/ebtables $(IDIR_EBTABLES)/usr/sbin/ebtables
|
install -m0755 $(PKG_BUILD_DIR)/ebtables $(1)/usr/sbin/ebtables
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ebtables))
|
$(eval $(call BuildPackage,ebtables))
|
||||||
|
@ -23,8 +23,8 @@ URL:=http://haserl.sourceforge.net/
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/haserl/install
|
define Package/haserl/install
|
||||||
install -m0755 -d $(IDIR_HASERL)/usr/bin
|
install -m0755 -d $(1)/usr/bin
|
||||||
install -m0755 $(PKG_INSTALL_DIR)/usr/bin/haserl $(IDIR_HASERL)/usr/bin/
|
install -m0755 $(PKG_INSTALL_DIR)/usr/bin/haserl $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,haserl))
|
$(eval $(call BuildPackage,haserl))
|
||||||
|
@ -54,13 +54,13 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ip/install
|
define Package/ip/install
|
||||||
install -d -m0755 $(IDIR_IP)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/ip/ip $(IDIR_IP)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/ip/ip $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tc/install
|
define Package/tc/install
|
||||||
install -d -m0755 $(IDIR_TC)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/tc/tc $(IDIR_TC)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/tc/tc $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# $(eval $(call BuildPackage,iproute2))
|
# $(eval $(call BuildPackage,iproute2))
|
||||||
|
@ -67,16 +67,16 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ipsec-tools/install
|
define Package/ipsec-tools/install
|
||||||
install -d -m0755 $(IDIR_IPSEC_TOOLS)/etc
|
install -d -m0755 $(1)/etc
|
||||||
install -d -m0755 $(IDIR_IPSEC_TOOLS)/usr/lib/
|
install -d -m0755 $(1)/usr/lib/
|
||||||
install -d -m0755 $(IDIR_IPSEC_TOOLS)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/racoon/samples/racoon.conf $(IDIR_IPSEC_TOOLS)/etc/
|
$(CP) $(PKG_BUILD_DIR)/src/racoon/samples/racoon.conf $(1)/etc/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libipsec.so.* $(IDIR_IPSEC_TOOLS)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libipsec.so.* $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libracoon.so.* $(IDIR_IPSEC_TOOLS)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libracoon.so.* $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(IDIR_IPSEC_TOOLS)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/plainrsa-gen $(1)/usr/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(IDIR_IPSEC_TOOLS)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoon $(1)/usr/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(IDIR_IPSEC_TOOLS)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/racoonctl $(1)/usr/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/setkey $(IDIR_IPSEC_TOOLS)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/setkey $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ipsec-tools))
|
$(eval $(call BuildPackage,ipsec-tools))
|
||||||
|
@ -26,8 +26,8 @@ endef
|
|||||||
|
|
||||||
define Package/ipset/install
|
define Package/ipset/install
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
DESTDIR=$(IDIR_IPSET) PREFIX=/usr install
|
DESTDIR=$(1) PREFIX=/usr install
|
||||||
rm -rf $(IDIR_IPSET)/usr/man
|
rm -rf $(1)/usr/man
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,ipset))
|
$(eval $(call BuildPackage,ipset))
|
||||||
|
@ -23,6 +23,6 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/mtd/install
|
define Package/mtd/install
|
||||||
install -d -m0755 $(IDIR_MTD)/sbin
|
install -d -m0755 $(1)/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/mtd $(IDIR_MTD)/sbin
|
install -m0755 $(PKG_BUILD_DIR)/mtd $(1)/sbin
|
||||||
endef
|
endef
|
||||||
|
@ -22,12 +22,11 @@ define Build/Prepare
|
|||||||
$(CP) ./src/* $(PKG_BUILD_DIR)
|
$(CP) ./src/* $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(IPKG_NVRAM):
|
|
||||||
define Package/nvram/install
|
define Package/nvram/install
|
||||||
install -d -m0755 $(IDIR_NVRAM)/usr/lib
|
install -d -m0755 $(1)/usr/lib
|
||||||
install -d -m0755 $(IDIR_NVRAM)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
$(CP) $(PKG_BUILD_DIR)/*.so $(IDIR_NVRAM)/usr/lib
|
$(CP) $(PKG_BUILD_DIR)/*.so $(1)/usr/lib
|
||||||
install -m0755 $(PKG_BUILD_DIR)/nvram $(IDIR_NVRAM)/usr/sbin
|
install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
compile-targets: install-dev
|
compile-targets: install-dev
|
||||||
|
@ -43,11 +43,11 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pcmcia-cs/install
|
define Package/pcmcia-cs/install
|
||||||
install -m0755 -d $(IDIR_PCMCIA_UTILS)/etc
|
install -m0755 -d $(1)/etc
|
||||||
install -m0755 -d $(IDIR_PCMCIA_UTILS)/usr/sbin
|
install -m0755 -d $(1)/usr/sbin
|
||||||
install -m0644 $(PKG_INSTALL_DIR)/etc/pcmcia $(IDIR_PCMCIA_UTILS)/etc/
|
install -m0644 $(PKG_INSTALL_DIR)/etc/pcmcia $(1)/etc/
|
||||||
install -m0755 $(PKG_INSTALL_DIR)/sbin/cardctl $(IDIR_PCMCIA_UTILS)/usr/sbin/
|
install -m0755 $(PKG_INSTALL_DIR)/sbin/cardctl $(1)/usr/sbin/
|
||||||
install -m0755 $(PKG_INSTALL_DIR)/sbin/cardmgr $(IDIR_PCMCIA_UTILS)/usr/sbin/
|
install -m0755 $(PKG_INSTALL_DIR)/sbin/cardmgr $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,pcmcia-cs))
|
$(eval $(call BuildPackage,pcmcia-cs))
|
||||||
|
@ -23,12 +23,12 @@ URL:=http://pptpclient.sourceforge.net/
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pptp/install
|
define Package/pptp/install
|
||||||
install -d -m0755 $(IDIR_PPTP)/sbin
|
install -d -m0755 $(1)/sbin
|
||||||
install -d -m0755 $(IDIR_PPTP)/etc/ppp
|
install -d -m0755 $(1)/etc/ppp
|
||||||
install -d -m0755 $(IDIR_PPTP)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
install -m0755 ./files/ifup.pptp $(IDIR_PPTP)/sbin/ifup.pptp
|
install -m0755 ./files/ifup.pptp $(1)/sbin/ifup.pptp
|
||||||
install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/
|
install -m0644 ./files/options.pptp $(1)/etc/ppp/
|
||||||
install -m0755 $(PKG_BUILD_DIR)/pptp $(IDIR_PPTP)/usr/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,pptp))
|
$(eval $(call BuildPackage,pptp))
|
||||||
|
@ -23,10 +23,10 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/robocfg/install
|
define Package/robocfg/install
|
||||||
install -d -m0755 $(IDIR_ROBOCFG)/sbin
|
install -d -m0755 $(1)/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/robocfg $(IDIR_ROBOCFG)/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/robocfg $(1)/sbin/
|
||||||
$(RSTRIP) $(IDIR_ROBOCFG)
|
$(RSTRIP) $(1)
|
||||||
$(IPKG_BUILD) $(IDIR_ROBOCFG) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(1) $(PACKAGE_DIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,robocfg))
|
$(eval $(call BuildPackage,robocfg))
|
||||||
|
@ -31,20 +31,20 @@ URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/udev/install
|
define Package/udev/install
|
||||||
install -d -m0775 $(IDIR_UDEV)/etc/udev
|
install -d -m0775 $(1)/etc/udev
|
||||||
install -d -m0775 $(IDIR_UDEV)/lib/udev
|
install -d -m0775 $(1)/lib/udev
|
||||||
install -d -m0775 $(IDIR_UDEV)/sbin/
|
install -d -m0775 $(1)/sbin/
|
||||||
install -d -m0775 $(IDIR_UDEV)/usr/bin/
|
install -d -m0775 $(1)/usr/bin/
|
||||||
install -d -m0775 $(IDIR_UDEV)/usr/sbin/
|
install -d -m0775 $(1)/usr/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/etc/udev/* $(IDIR_UDEV)/etc/udev/
|
$(CP) $(PKG_INSTALL_DIR)/etc/udev/* $(1)/etc/udev/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/sbin/udev $(IDIR_UDEV)/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/sbin/udev $(1)/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/sbin/udevcontrol $(IDIR_UDEV)/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/sbin/udevcontrol $(1)/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/sbin/udevd $(IDIR_UDEV)/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/sbin/udevd $(1)/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/sbin/udevsend $(IDIR_UDEV)/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/sbin/udevsend $(1)/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/sbin/udevstart $(IDIR_UDEV)/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/sbin/udevstart $(1)/sbin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/udevinfo $(IDIR_UDEV)/usr/bin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/udevinfo $(1)/usr/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/udevtest $(IDIR_UDEV)/usr/bin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/udevtest $(1)/usr/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/udevmonitor $(IDIR_UDEV)/usr/sbin/
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/udevmonitor $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,udev))
|
$(eval $(call BuildPackage,udev))
|
||||||
|
@ -22,6 +22,6 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wificonf/install
|
define Package/wificonf/install
|
||||||
install -d -m0755 $(IDIR_WIFICONF)/sbin
|
install -d -m0755 $(1)/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/wifi $(IDIR_WIFICONF)/sbin/
|
install -m0755 $(PKG_BUILD_DIR)/wifi $(1)/sbin/
|
||||||
endef
|
endef
|
||||||
|
@ -36,10 +36,10 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/wireless-tools/install
|
define Package/wireless-tools/install
|
||||||
install -d -m0755 $(IDIR_WIRELESS_TOOLS)/usr/lib
|
install -d -m0755 $(1)/usr/lib
|
||||||
install -d -m0755 $(IDIR_WIRELESS_TOOLS)/usr/sbin
|
install -d -m0755 $(1)/usr/sbin
|
||||||
install -m0755 $(PKG_BUILD_DIR)/libiw.so.28 $(IDIR_WIRELESS_TOOLS)/usr/lib/
|
install -m0755 $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
|
||||||
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(IDIR_WIRELESS_TOOLS)/usr/sbin/
|
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(1)/usr/sbin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
install-dev: $(PKG_BUILD_DIR)/.built
|
install-dev: $(PKG_BUILD_DIR)/.built
|
||||||
|
@ -49,8 +49,8 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/zlib/install
|
define Package/zlib/install
|
||||||
install -m0755 -d $(IDIR_ZLIB)/usr/lib
|
install -m0755 -d $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(IDIR_ZLIB)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
|
$(STAGING_DIR)/usr/lib/libz.so: $(PKG_BUILD_DIR)/.built
|
||||||
|
Loading…
Reference in New Issue
Block a user