clean up the gnu make package makefile, fix avr32 compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12163 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0c669b8d69
commit
f80d7377cb
@ -25,20 +25,7 @@ define Package/make/description
|
|||||||
The Make package contains a program for compiling packages
|
The Make package contains a program for compiling packages
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
MAKE_FLAGS += all install DESTDIR="$(PKG_INSTALL_DIR)"
|
||||||
(cd $(PKG_BUILD_DIR)/; \
|
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
|
||||||
$(CONFIGURE_VARS) \
|
|
||||||
$(CONFIGURE_CMD) \
|
|
||||||
$(CONFIGURE_ARGS_XTRA) \
|
|
||||||
$(CONFIGURE_ARGS) \
|
|
||||||
);
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) all
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) install DESTDIR=$(PKG_INSTALL_DIR)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/make/install
|
define Package/make/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user