clean up the gnu make package makefile, fix avr32 compile
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 20:56:22 +0000 (20:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 20:56:22 +0000 (20:56 +0000)
SVN-Revision: 12163

devel/make/Makefile

index 57dd155e5a7d48309315a4f9ba66fa3d4d40a9be..8541ceb943d33f4e44054f0e3900d3f8a8403593 100644 (file)
@@ -25,20 +25,7 @@ define Package/make/description
        The Make package contains a program for compiling packages
 endef
 
-define Build/Configure
-       (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
+MAKE_FLAGS += all install DESTDIR="$(PKG_INSTALL_DIR)"
 
 define Package/make/install
        $(INSTALL_DIR) $(1)/usr/bin